mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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
This commit is contained in:
parent
a99a176707
commit
cb4d7b48e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user