From 650d3ba62dc392409855e8dc49637fd79c7d09ce Mon Sep 17 00:00:00 2001 From: Arrehn Date: Fri, 21 Oct 2011 12:58:23 -0400 Subject: [PATCH] Updates to last commit, more robust across platforms --- scripts/configure_firestorm.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/configure_firestorm.sh b/scripts/configure_firestorm.sh index e58a9d3f19..7957817c81 100755 --- a/scripts/configure_firestorm.sh +++ b/scripts/configure_firestorm.sh @@ -344,10 +344,12 @@ if [ $WANTS_CONFIG -eq $TRUE ] ; then if [ $WANTS_PACKAGE -eq $TRUE ] ; then PACKAGE="-DPACKAGE:BOOL=ON" # Also delete easy-to-copy resource files, insuring that we properly refresh resoures from the source tree - echo "Removing any previously packaged files, will refresh at build time." - if [ -d newview/packaged ] ; then - rm -rf newview/packaged/ - fi + echo "Removing select previously packaged resources, they will refresh at build time" + for subdir in skins app_settings fs_resources ; do + for resourcedir in `find . -type d -name $subdir` ; do + rm -rf $resourcedir ; + done + done else PACKAGE="-DPACKAGE:BOOL=OFF" fi