summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
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