diff options
author | Cyan4973 <yann.collet.73@gmail.com> | 2014-07-30 11:11:12 (GMT) |
---|---|---|
committer | Cyan4973 <yann.collet.73@gmail.com> | 2014-07-30 11:11:12 (GMT) |
commit | 17fdc54813582d3235401f287999cc17c466ab5f (patch) | |
tree | ae8f443b2873aa44c45b58b41829b99028a68503 | |
parent | e4aaa681ca07415cf12657bc1a3cd05c10afeed9 (diff) | |
parent | 525cb11c223e9d3d38c8bbb41386fd458357576c (diff) | |
download | lz4-17fdc54813582d3235401f287999cc17c466ab5f.zip lz4-17fdc54813582d3235401f287999cc17c466ab5f.tar.gz lz4-17fdc54813582d3235401f287999cc17c466ab5f.tar.bz2 |
Merge pull request #15 from t-mat/fix-bsd-sed
Fix BSD sed error reported by Yue Du
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,9 +33,9 @@ # Version numbers VERSION=121 export RELEASE=r$(VERSION) -LIBVER_MAJOR=`sed -n '/LZ4_VERSION_MAJOR/s/.*\s\+\([0-9]\+\).*/\1/p' < lz4.h` -LIBVER_MINOR=`sed -n '/LZ4_VERSION_MINOR/s/.*\s\+\([0-9]\+\).*/\1/p' < lz4.h` -LIBVER_PATCH=`sed -n '/LZ4_VERSION_RELEASE/s/.*\s\+\([0-9]\+\).*/\1/p' < lz4.h` +LIBVER_MAJOR=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h` +LIBVER_MINOR=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h` +LIBVER_PATCH=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h` LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH) DESTDIR= |