* since we changed the versioning, we need to detect it right.
[citadel.git] / webcit / buildpackages
index 7e1012d470cbde22dc354ccc2ceda00bee5a8305..7d896e9181bce5fd245e15a5f1a2ec410223356e 100755 (executable)
@@ -3,7 +3,7 @@ if test -x Makefile; then
     make clean
 fi
 ./bootstrap
-export WEBCIT_`grep VERSION= configure.ac |sed -e "s;';;g"`
+export `grep PACKAGE_VERSION= configure |sed -e "s;';;g" -e "s;PACKAGE;WEBCIT;"`
 
 PACKAGE_VERSION=`cat packageversion`
 DATE=`date '+%a, %d %b %Y %H:%I:00 %z'`