diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-debian.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build-debian.sh b/tools/build-debian.sh index 79a8e17db..dcb8b1581 100755 --- a/tools/build-debian.sh +++ b/tools/build-debian.sh @@ -160,7 +160,7 @@ DISTRO="$2" # example: devel => devel / 1, stable-2 => stable / 2, 1.9-2 => 1.9 / 2 TMP_VERSION=$(expr "${VERSION}" : '\([^/]*\)-') || true DEB_REVISION="" -if [ ! -z "${TMP_VERSION}" ]; then +if [ -n "${TMP_VERSION}" ]; then DEB_REVISION=$(expr "${VERSION}" : '[^-]*-\([^-]*\)') || true VERSION="${TMP_VERSION}" fi |