From cb4d7b48e51fe5bcf538e7b98b5a2392e51cb0b0 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Mon, 22 Sep 2008 08:55:01 -0700 Subject: create-tarball: Don't remove /*. These strings do appear several times. Extend the grep pattern to get the right string only. This avoids the removal of /*! Karolin --- release-scripts/create-tarball | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release-scripts') diff --git a/release-scripts/create-tarball b/release-scripts/create-tarball index 1ce88941ba..deff6d344c 100755 --- a/release-scripts/create-tarball +++ b/release-scripts/create-tarball @@ -178,8 +178,8 @@ function main exitOnError 1 "Failed to find ${VER_H}!" fi - version=`grep SAMBA_VERSION_OFFICIAL_STRING $VER_H | awk '{print $3}'` - vendor_version=`grep SAMBA_VERSION_VENDOR_SUFFIX $VER_H | awk '{print $3}'` + version=`grep "define SAMBA_VERSION_OFFICIAL_STRING" $VER_H | awk '{print $3}'` + vendor_version=`grep "define SAMBA_VERSION_VENDOR_SUFFIX" $VER_H | awk '{print $3}'` if [ -n "$vendor_version" ]; then version="$version-$vendor_version" fi -- cgit