diff options
author | B Stack <bgstack15@gmail.com> | 2018-10-24 19:56:52 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-10-24 19:56:52 +0000 |
commit | 9962f3e4740c33a903070a2d3ccfaf57b757a61f (patch) | |
tree | f99d8fc99cfea985cd8fda7181d0643a91731cd9 /build-laps.sh | |
parent | initial commit and release of v0.0.1 (diff) | |
parent | fix version.txt and the way build script learns version (diff) | |
download | laps-9962f3e4740c33a903070a2d3ccfaf57b757a61f.tar.gz laps-9962f3e4740c33a903070a2d3ccfaf57b757a61f.tar.bz2 laps-9962f3e4740c33a903070a2d3ccfaf57b757a61f.zip |
Merge branch 'dev' into 'master'
version 0.0.2
Closes #4, #3, and #2
See merge request bgstack15/laps!1
Diffstat (limited to 'build-laps.sh')
-rwxr-xr-x | build-laps.sh | 2 |
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" |