diff options
author | Simon Nagl <sin6332@thi.de> | 2017-02-07 15:55:04 +0100 |
---|---|---|
committer | Simon Nagl <sin6332@thi.de> | 2017-02-07 16:00:57 +0100 |
commit | e92ee6b1f637f44d8dad8bc748bf0ce8bb077c33 (patch) | |
tree | f4b7cf6f599b98875eb9f29d3905068d61a60446 /packaging | |
parent | 5f7c0b0d31c6c69d4373e06a2ff7a76f8c43815c (diff) |
Fix packaging/check-files for sed version of macOS
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/packaging.functions | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/packaging.functions b/packaging/packaging.functions index 4694772b27..d74fbfeac2 100644 --- a/packaging/packaging.functions +++ b/packaging/packaging.functions @@ -102,8 +102,10 @@ get_changelog_version() { get_configure_ac_version() { get_staged_file configure.ac local v=`sed -n \ - -e '/define(\[VERSION_\(MINOR\|FIX\)/s/.*\[\([^[]*\)\].*/.\1/p' \ - -e '/define(\[VERSION_\(MAJOR\|SUFFIX\)/s/.*\[\([^[]*\)\].*/\1/p' \ + -e '/define(\[VERSION_MAJOR/s/.*\[\([^[]*\)\].*/\1/p' \ + -e '/define(\[VERSION_MINOR/s/.*\[\([^[]*\)\].*/.\1/p' \ + -e '/define(\[VERSION_FIX/s/.*\[\([^[]*\)\].*/.\1/p' \ + -e '/define(\[VERSION_SUFFIX/s/.*\[\([^[]*\)\].*/\1/p' \ $MYTMP/files/configure.ac | tr -d '\n'` if [ ! "$v" ]; then v="No version in configure.ac!"; fi echo "$v" |