aboutsummaryrefslogtreecommitdiffstats
path: root/doc/scripts
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-08-13 08:58:42 +0000
committerlloyd <[email protected]>2009-08-13 08:58:42 +0000
commit5a179770aece4923ed690460b83b4cf570cdfe98 (patch)
treebbf9c75656f570f8ff4a36d36f01d1d547bfcd03 /doc/scripts
parentce41409eb6ae9a25ac3aeb496e28a4be73c0ae05 (diff)
Fix hardcoded paths in dist script. Use configure.py instead of cofigure.pl
to get the version #
Diffstat (limited to 'doc/scripts')
-rwxr-xr-xdoc/scripts/dist.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/scripts/dist.sh b/doc/scripts/dist.sh
index d66066173..0062d43bf 100755
--- a/doc/scripts/dist.sh
+++ b/doc/scripts/dist.sh
@@ -5,8 +5,8 @@
SELECTOR=h:net.randombit.botan
KEY_ID=EFBADFBC
-MTN_DB=~/var/mtn/botan.mtn
-WEB_DIR=~/var/www
+MTN_DB=/storage/mtn/botan.mtn
+WEB_DIR=~/projects/www
DIST_DIR=~/Botan-dist
# You shouldn't have to change anything after this
@@ -15,7 +15,7 @@ cd $DIST_DIR
mtn -d $MTN_DB checkout -r $SELECTOR Botan
-VERSION=$(Botan/configure.pl --version | sed 's/Botan //')
+VERSION=$(Botan/configure.py --version)
mv Botan Botan-$VERSION