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:
meep-eep
2002-11-30 19:15:09 +00:00
parent aa9d3c9d47
commit 09e756eb46
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ if [ -e build.vars -a -z "$BUILD_COMMAND" ]; then
fi
# 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 [ -n "$BUILD_COMMAND" ]; then
+2 -2
View File
@@ -40,9 +40,9 @@ try_compile_c() {
fi
cat > "$TEMPFILE.c"
echo_and_perform $COMPILE $1 $2 "$TEMPFILE.c" \
-o /dev/null 2>&1 >> "$BUILDLOG"
-o "$TEMPFILE.out" 2>&1 >> "$BUILDLOG"
RESULT=$?
rm -f "$TEMPFILE.c"
rm -f "$TEMPFILE.c" "$TEMPFILE.out"
return $RESULT
}