summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-27 13:07:01 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:32 -0400
commit9369beb85b3d65eabfce93b0f0ed59da824b5236 (patch)
treee9323e8ec55ca22ad489435fa9d1630a5a8dad11 /acprep
parent771f39b69acbc78d5672e7cb95030260866eb33d (diff)
downloadfork-ledger-9369beb85b3d65eabfce93b0f0ed59da824b5236.tar.gz
fork-ledger-9369beb85b3d65eabfce93b0f0ed59da824b5236.tar.bz2
fork-ledger-9369beb85b3d65eabfce93b0f0ed59da824b5236.zip
Everything works with optimization turned on now.
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep6
1 files changed, 5 insertions, 1 deletions
diff --git a/acprep b/acprep
index f1a24aa6..ee8488ee 100755
--- a/acprep
+++ b/acprep
@@ -84,7 +84,11 @@ done
HERE="$PWD"
if [ -d "$HOME/Products" ]; then
- projdir="$HOME/Products/$(basename $HERE)"
+ version=""
+ if [ -x pending/version ]; then
+ version="-$(pending/version)"
+ fi
+ projdir="$HOME/Products/$(basename $HERE)$version"
if [ ! -d "$projdir" ]; then
mkdir -p "$projdir"
fi