Fixes to tools/myacprep

This commit is contained in:
John Wiegley 2009-02-21 19:19:34 -04:00
parent 6b9c83b156
commit 20a3ba0d21

View file

@ -38,12 +38,14 @@ if [ $saw_opt = false ]; then
SWITCHES="$SWITCHES --warn" # show full compiler warnings
SWITCHES="$SWITCHES --debug" # enable debug code generation
SWITCHES="$SWITCHES --devel" # use GLIBCXX_DEBUG if possible
if [ -n "$OUT" ]; then
OUT="$OUT/ledger"
fi
fi
if [ -n "$OUT" ]; then
[ -d "$OUT" ] || mkdir -p "$OUT"
SWITCHES="$SWITCHES --output $OUT"
fi
./acprep $SWITCHES "$@"
./acprep $SWITCHES