equal
deleted
inserted
replaced
18 APP_FOLDER=${APP_FOLDER:-"${DEFAULT_APP_FOLDER}"} |
18 APP_FOLDER=${APP_FOLDER:-"${DEFAULT_APP_FOLDER}"} |
19 APP_FILES=${APP_FILES:-"${DEFAULT_APP_FILES}"} |
19 APP_FILES=${APP_FILES:-"${DEFAULT_APP_FILES}"} |
20 APP_DIRS=${APP_DIRS:-"${DEFAULT_APP_DIRS}"} |
20 APP_DIRS=${APP_DIRS:-"${DEFAULT_APP_DIRS}"} |
21 ZIP_FILES=${ZIP_FILES:-"${DEFAULT_ZIP_FILES}"} |
21 ZIP_FILES=${ZIP_FILES:-"${DEFAULT_ZIP_FILES}"} |
22 |
22 |
23 cd $APP_FOLDER |
23 if [ -e $APP_FOLDER ] ; then |
|
24 cd $APP_FOLDER |
|
25 else |
|
26 echo 'This script must be run from within the scripts directory!' |
|
27 exit 1 |
|
28 fi |
24 |
29 |
25 # Remove old zip files (and django.zip in its old location) |
30 # Remove old zip files (and django.zip in its old location) |
26 rm -rf $ZIP_FILES django.zip |
31 rm -rf $ZIP_FILES django.zip |
27 |
32 |
28 # Remove old $APP_BUILD directory. |
33 # Remove old $APP_BUILD directory. |
73 do |
78 do |
74 ln -s $APP_FOLDER/$x $APP_BUILD/$x |
79 ln -s $APP_FOLDER/$x $APP_BUILD/$x |
75 done |
80 done |
76 |
81 |
77 echo "Build results in $APP_BUILD." |
82 echo "Build results in $APP_BUILD." |
78 |
|