diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-06 13:13:11 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-07 06:04:37 -0300 |
commit | 9feb870df03b03a11cdb85fad08482e998e3be7a (patch) | |
tree | 30c8406cff38dd785aa3f46817f3ca847603d64a /testing/libcork/fix-dumb-script.patch | |
parent | 70ee824b277429c6e3a3fd0843b6e1afa48f2b42 (diff) | |
download | aports-9feb870df03b03a11cdb85fad08482e998e3be7a.tar.bz2 aports-9feb870df03b03a11cdb85fad08482e998e3be7a.tar.xz |
testing/libcork: new aport
Diffstat (limited to 'testing/libcork/fix-dumb-script.patch')
-rw-r--r-- | testing/libcork/fix-dumb-script.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/libcork/fix-dumb-script.patch b/testing/libcork/fix-dumb-script.patch new file mode 100644 index 0000000000..092343c510 --- /dev/null +++ b/testing/libcork/fix-dumb-script.patch @@ -0,0 +1,27 @@ +diff --git a/version.sh b/version.sh +index 40e8d05..be8cd2e 100755 +--- a/version.sh ++++ b/version.sh +@@ -17,17 +17,10 @@ + # Note that the RELEASE-VERSION file should *not* be checked into git; + # please add it to your top-level .gitignore file. + +-version=$(git describe) +-if [ -n ${version} ]; then +- # If we got something from git-describe, write the version to the +- # output file. +- echo ${version} > RELEASE-VERSION +-else +- version=$(cat RELEASE-VERSION) +- if [ -z ${version} ]; then +- echo "Cannot find the version number!" >&2 +- exit 1 +- fi ++version=$(cat RELEASE-VERSION) ++if [ -z ${version} ]; then ++ echo "Cannot find the version number!" >&2 ++ exit 1 + fi + + echo ${version} + |