- Timestamp:
- 03/13/10 00:37:22 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
gui/tools/webmail/plugins/msg_flags/make_release.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/omega-1.0.4 merged: 2645 /branches/omega-1.0.5 (added) merged: 2656,2658,2660-2661,2664-2673 /tags/omega-1.0.4 merged: 2657
- Property svn:mergeinfo changed
-
trunk/gui/tools/webmail/plugins/msg_flags/make_release.sh
r1904 r2693 4 4 # Generic shell script for building SquirrelMail plugin release 5 5 # 6 # Copyright (c) 2004-200 8Paul Lesniewski <paul@squirrelmail.org>6 # Copyright (c) 2004-2009 Paul Lesniewski <paul@squirrelmail.org> 7 7 # Licensed under the GNU GPL. For full terms see the file COPYING. 8 8 # … … 104 104 exit 3 105 105 fi 106 if [ ! -e INSTALL ]; then 107 echo 108 echo "No INSTALL file found. Please create before making release" 106 if [ ! -e docs/README ]; then 107 echo 108 echo "No docs/README file found. Please create before making release" 109 echo 110 exit 3 111 fi 112 if [ ! -e docs/INSTALL ]; then 113 echo 114 echo "No docs/INSTALL file found. Please create before making release" 109 115 echo 110 116 exit 4 111 117 fi 112 118 # Translated strings are actually in the core 113 #if [ ! -e getpot ]; then114 # echo 115 # echo "No getpot file found. Please create before making release"119 #if [ ! -e locale/getpot ]; then 120 # echo 121 # echo "No locale/getpot file found. Please create before making release" 116 122 # echo 117 123 # exit 5 118 124 #fi 119 if [ ! -e $PACKAGE.pot ]; then120 echo 121 echo "No $PACKAGE.pot file found. Please create before making release"125 if [ ! -e locale/$PACKAGE.pot ]; then 126 echo 127 echo "No locale/$PACKAGE.pot file found. Please create before making release" 122 128 echo 123 129 exit 5 … … 128 134 # just copy index.php and COPYING automatically if not found 129 135 # 130 if [ ! -e COPYING ]; then131 echo "No COPYING file found. Grabbing one from ../../"132 cp ../../COPYING . 136 if [ ! -e docs/COPYING ]; then 137 echo "No docs/COPYING file found. Grabbing one from ../../" 138 cp ../../COPYING ./docs/ 133 139 fi 134 140 if [ ! -e index.php ]; then 135 141 echo "No index.php file found. Grabbing one from ../" 136 142 cp ../index.php . 143 fi 144 if [ ! -e docs/index.php ]; then 145 echo "No docs/index.php file found. Grabbing one from ../" 146 cp ../index.php ./docs/ 147 fi 148 if [ ! -e locale/index.php ]; then 149 echo "No locale/index.php file found. Grabbing one from ../" 150 cp ../index.php ./locale/ 151 fi 152 153 154 155 # Make our own docs/.htaccess and locale/.htaccess if needed 156 # 157 if [ ! -e docs/.htaccess ]; then 158 echo "No docs/.htaccess file found. Creating..." 159 echo "Deny from All" > ./docs/.htaccess 160 fi 161 if [ ! -e locale/.htaccess ]; then 162 echo "No locale/.htaccess file found. Creating..." 163 echo "Deny from All" > ./locale/.htaccess 137 164 fi 138 165 … … 217 244 # Build tar command; exclude config and other irrelevant files 218 245 # 219 TAR_COMMAND="tar -c -z -v --exclude CVS "246 TAR_COMMAND="tar -c -z -v --exclude CVS --exclude .svn" 220 247 J=0 221 248 while [ "$J" -lt ${#CONFIG_FILES[@]} ]; do
Note: See TracChangeset
for help on using the changeset viewer.
