diff options
-rwxr-xr-x | release-scripts/create-tarball | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release-scripts/create-tarball b/release-scripts/create-tarball index ab27f08222..3e80cd1f07 100755 --- a/release-scripts/create-tarball +++ b/release-scripts/create-tarball @@ -183,6 +183,10 @@ 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}'` + if [ -n "$vendor_patch" ]; then + version="$version-$vendor_patch" + fi version=`echo $version | sed 's/\"//g'` echo "Creating release tarball for Samba $version" |