Browse Source

Remove silly loop in createPluginJar, thus increasing its speed niftily!


git-svn-id: http://svn.dmdirc.com/trunk@3839 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Chris Smith 16 years ago
parent
commit
01089156ae
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      createPluginJar.sh

+ 1
- 3
createPluginJar.sh View File

54
 	if [ ${?} -ne 0 ]; then
54
 	if [ ${?} -ne 0 ]; then
55
 		break;
55
 		break;
56
 	else
56
 	else
57
-		for thisfile in `ls -1 ${foo}${bit}/*.class ${foo}${bit}/*.png 2>/dev/null`; do
58
-			jar -uvf ${srcdir}/src/${foldername}/${2}.jar ${thisfile} >/dev/null
59
-		done
57
+		jar -uvf ${srcdir}/src/${foldername}/${2}.jar `ls -1 ${foo}${bit}/*.class ${foo}${bit}/*.png 2>/dev/null` >/dev/null
60
 	fi
58
 	fi
61
 done
59
 done
62
 
60
 

Loading…
Cancel
Save