some fixes for OpenSSH
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@273 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ if [ -e build.vars -a -z "$BUILD_COMMAND" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Read in the Makeinfo file for the dir currently being processed
|
# Read in the Makeinfo file for the dir currently being processed
|
||||||
. "${BUILD_REC_PATH}Makeinfo"
|
. "${BUILD_REC_PATH:=}Makeinfo"
|
||||||
|
|
||||||
# If we're recursing, go on.
|
# If we're recursing, go on.
|
||||||
if [ -n "$BUILD_COMMAND" ]; then
|
if [ -n "$BUILD_COMMAND" ]; then
|
||||||
|
|||||||
@@ -40,9 +40,9 @@ try_compile_c() {
|
|||||||
fi
|
fi
|
||||||
cat > "$TEMPFILE.c"
|
cat > "$TEMPFILE.c"
|
||||||
echo_and_perform $COMPILE $1 $2 "$TEMPFILE.c" \
|
echo_and_perform $COMPILE $1 $2 "$TEMPFILE.c" \
|
||||||
-o /dev/null 2>&1 >> "$BUILDLOG"
|
-o "$TEMPFILE.out" 2>&1 >> "$BUILDLOG"
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
rm -f "$TEMPFILE.c"
|
rm -f "$TEMPFILE.c" "$TEMPFILE.out"
|
||||||
return $RESULT
|
return $RESULT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user