summaryrefslogtreecommitdiff
path: root/release-scripts/create-tarball
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2008-09-22 08:55:01 -0700
committerKarolin Seeger <kseeger@samba.org>2008-09-22 09:03:35 -0700
commitcb4d7b48e51fe5bcf538e7b98b5a2392e51cb0b0 (patch)
treef913396916862ee6b2e92b2ef44b68ba36c8e050 /release-scripts/create-tarball
parenta99a176707cade1e6cc12c46a6ca689ef9ea1f16 (diff)
downloadsamba-cb4d7b48e51fe5bcf538e7b98b5a2392e51cb0b0.tar.gz
samba-cb4d7b48e51fe5bcf538e7b98b5a2392e51cb0b0.tar.bz2
samba-cb4d7b48e51fe5bcf538e7b98b5a2392e51cb0b0.zip
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
Diffstat (limited to 'release-scripts/create-tarball')
-rwxr-xr-xrelease-scripts/create-tarball4
1 files changed, 2 insertions, 2 deletions
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