Changeset 2866 for stable/0.7/prepare_new_release
- Timestamp:
- Sep 8, 2013 12:27:09 PM (7 years ago)
- Location:
- stable/0.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/0.7
- Property svn:mergeinfo changed
/trunk merged: 2840-2841,2861-2863,2865
- Property svn:mergeinfo changed
-
stable/0.7/prepare_new_release
r2839 r2866 361 361 # contains a '/', strip it out to make the build and checkout directories. 362 362 363 top BuildDir=`echo $stableProj | sed -e 's|.*/\([^/]*\)$|\1|'`364 topBuildDir="${top BuildDir}-${newVer}"363 topProjName=`echo $stableProj | sed -e 's|.*/\([^/]*\)$|\1|'` 364 topBuildDir="${topProjName}-${newVer}" 365 365 if test $isThirdParty = yes; then 366 366 coDir=$topBuildDir/Thirdparty/$stableProj … … 418 418 echo '' 419 419 echo "===> Checking for configure.ac files ..." 420 bak_files=`find $stableProj -name 'configure.ac'` 420 if test -d $topProjName ; then 421 bak_files=`find $topProjName -name 'configure.ac'` 422 fi 421 423 if test -e configure.ac ; then 422 424 bak_files="$bak_files configure.ac" … … 451 453 # add config_proj_default.h.bak to the list of files to be restored. 452 454 453 stableProjUC=`echo $stableProj | tr '[a-z]' '[A-Z]'` 454 configFileLoc=`find $stableProj -name .svn -prune -o -name 'config_*_default.h' -print` 455 topProjNameUC=`echo $topProjName | tr '[a-z]' '[A-Z]'` 456 if test -d $topProjName ; then 457 configFileLoc=`find $topProjName -name .svn -prune -o -name 'config_*_default.h' -print` 458 fi 455 459 if test -n "$configFileLoc" ; then 456 versionSym=${ stableProjUC}_VERSION460 versionSym=${topProjNameUC}_VERSION 457 461 echo '' 458 462 echo "===> Updating $versionSym in $configFileLoc (if present)"
Note: See TracChangeset
for help on using the changeset viewer.