aboutsummaryrefslogtreecommitdiff
path: root/build-laps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-laps.sh')
-rwxr-xr-xbuild-laps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-laps.sh b/build-laps.sh
index a7fee94..e53486c 100755
--- a/build-laps.sh
+++ b/build-laps.sh
@@ -1,7 +1,7 @@
#!/bin/sh
test -z "${PACK_PACKAGE}" && PACK_PACKAGE=laps
-test -z "${PACK_VERSION}" && PACK_VERSION=0.0.1
+test -z "${PACK_VERSION}" && PACK_VERSION="$( cat src/usr/share/doc/laps/version.txt )"
test -z "${PACK_DIR}" && PACK_DIR="$( readlink -f "$( dirname "${0}" )" )"
test -z "${RPMBUILD_SOURCES_DIR}" && RPMBUILD_SOURCES_DIR="/home/${USER}/rpmbuild/SOURCES"
bgstack15