Changeset 2841 for trunk/prepare_new_release
- Timestamp:
- Aug 3, 2013 2:40:00 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prepare_new_release
r2840 r2841 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 . -name 'configure.ac'` 420 if test -d $topProjName ; then 421 bak_files=`find $topProjName -name 'configure.ac'` 422 fi 423 if test -e configure.ac ; then 424 bak_files="$bak_files configure.ac" 425 fi 421 426 422 427 if test -n "$bak_files" ; then … … 448 453 # add config_proj_default.h.bak to the list of files to be restored. 449 454 450 stableProjUC=`echo $stableProj | tr '[a-z]' '[A-Z]'` 451 configFileLoc=`find . -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 452 459 if test -n "$configFileLoc" ; then 453 versionSym=${ stableProjUC}_VERSION460 versionSym=${topProjNameUC}_VERSION 454 461 echo '' 455 462 echo "===> Updating $versionSym in $configFileLoc (if present)"
Note: See TracChangeset
for help on using the changeset viewer.