From 20a3ba0d2145c7f931b9e76e5ba81f917c5fbad7 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 21 Feb 2009 19:19:34 -0400 Subject: Fixes to tools/myacprep --- tools/myacprep | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/myacprep') diff --git a/tools/myacprep b/tools/myacprep index 39ed4f23..1486f952 100755 --- a/tools/myacprep +++ b/tools/myacprep @@ -38,7 +38,9 @@ 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 - OUT="$OUT/ledger" + if [ -n "$OUT" ]; then + OUT="$OUT/ledger" + fi fi if [ -n "$OUT" ]; then @@ -46,4 +48,4 @@ if [ -n "$OUT" ]; then SWITCHES="$SWITCHES --output $OUT" fi -./acprep $SWITCHES "$@" +./acprep $SWITCHES -- cgit v1.2.3