Changeset 75097 in vbox for trunk/tools/bin
- Timestamp:
- Oct 26, 2018 2:31:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/ose-tarball.sh
r69490 r75097 29 29 verminor=`grep "^VBOX_VERSION_MINOR *=" "$vboxdir/Version.kmk"|sed -e "s|.*= *\(.*\)|\1|g"` 30 30 verbuild=`grep "^VBOX_VERSION_BUILD *=" "$vboxdir/Version.kmk"|sed -e "s|.*= *\(.*\)|\1|g"` 31 verpre=`grep "^VBOX_VERSION_PRERELEASE *=" "$vboxdir/Version.kmk"|sed -e "s|.*= *\(.*\)|\1|g"` 32 verpub=`grep "^VBOX_BUILD_PUBLISHER *=" "$vboxdir/Version.kmk"|sed -e "s|.*= *\(.*\)|\1|g"` 33 verstr="$vermajor.$verminor.$verbuild" 34 [ -n "$verpre" ] && verstr="$verstr"_"$verpre" 35 [ -n "$verpub" ] && verstr="$verstr$verpub" 31 36 rootpath=`cd ..;pwd` 32 verstr="$vermajor.$verminor.$verbuild"33 37 rootname="VirtualBox-$verstr" 38 if [ $# -eq 1]; then 39 tarballname="$1" 40 else 41 tarballname="$rootpath/$rootname.tar.bz2" 42 fi 34 43 rm -f "$rootpath/$rootname" 35 44 ln -s `basename "$vboxdir"` "$rootpath/$rootname" … … 54 63 --exclude="$rootname/prebuild" \ 55 64 --directory "$rootpath" \ 56 --file "$ rootpath/$rootname.tar.bz2" \65 --file "$tarballname" \ 57 66 "$rootname" 58 echo "Successfully created $ rootpath/$rootname.tar.bz2"67 echo "Successfully created $tarballname" 59 68 rm -f "$rootpath/$rootname"
Note:
See TracChangeset
for help on using the changeset viewer.