diff --git a/scripts/release.sh b/scripts/release.sh index 5349ae2..b100d50 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -58,7 +58,7 @@ cd ".." # Packing source. -VERSION=$(grep "LZWS_VERSION" "CMakeLists.txt" | sed "s/.*LZWS_VERSION\s*['\"]\([0-9.]*\).*/\1/g") +VERSION=$(grep "LZWS_VERSION" "CMakeLists.txt" | sed "s/.*LZWS_VERSION[[:space:]]*['\"]\([0-9.]*\).*/\1/g") NAME="lzws-${VERSION}" COMPRESSION_LEVEL="-9"