s3:release-scripts: fix create-tarball to treat vendor patch level correctly
[samba.git] / release-scripts / create-tarball
index 9e6b8fe0ff5d4f2f805c071db22599b88b57f59b..94525e0821e5f9c3dff163f16c6739fea64fcf3a 100755 (executable)
@@ -196,7 +196,7 @@ function main
     if [ -n "$vendor_version" ]; then
        version="$version-$vendor_version"
     fi
-    vendor_patch=`grep "define SAMBA_VERSION_VENDOR_PATCH" $VER_H | awk '{print $3}'`
+    vendor_patch=`grep "define SAMBA_VERSION_VENDOR_PATCH_STRING" $VER_H | awk '{print $3}'`
     if [ -n "$vendor_patch" ]; then
        version="$version-$vendor_patch"
     fi