diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-21 19:19:34 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-21 19:19:34 -0400 |
commit | 20a3ba0d2145c7f931b9e76e5ba81f917c5fbad7 (patch) | |
tree | add31cf09041c297543a597c69e2f0a9c21b9240 | |
parent | 6b9c83b156d44984ae58f47b173fe743f19d8188 (diff) | |
download | fork-ledger-20a3ba0d2145c7f931b9e76e5ba81f917c5fbad7.tar.gz fork-ledger-20a3ba0d2145c7f931b9e76e5ba81f917c5fbad7.tar.bz2 fork-ledger-20a3ba0d2145c7f931b9e76e5ba81f917c5fbad7.zip |
Fixes to tools/myacprep
-rwxr-xr-x | tools/myacprep | 6 |
1 files changed, 4 insertions, 2 deletions
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 |