Browse Source

Fix installer build scripts to include plugins correctly.

Change-Id: Ic23d1d927dd5dabe6a9ee0597a026d932f59b4e6
Reviewed-on: http://gerrit.dmdirc.com/22
Reviewed-by: Chris Smith <chris@dmdirc.com>
Tested-by: Shane Mc Cormack <shane@dmdirc.com>
tags/0.6.3m2rc1
Shane Mc Cormack 14 years ago
parent
commit
49e4ca29a6
2 changed files with 4 additions and 4 deletions
  1. 4
    1
      installer/jar/makeJar.sh
  2. 0
    3
      installer/release.sh

+ 4
- 1
installer/jar/makeJar.sh View File

@@ -116,8 +116,8 @@ while test -n "$1"; do
116 116
 			BRANCH="1"
117 117
 			;;
118 118
 		--tag|-t)
119
-			shift
120 119
 			if [ ${isSVN} -eq 1 ]; then
120
+				shift
121 121
 				REGEX="^[0-9]+(\.[0-9]+(\.[0-9]+)?)?$"
122 122
 				CHECKTAG=`echo ${1} | egrep "${REGEX}"`
123 123
 				if [ "" = "${CHECKTAG}" ]; then
@@ -193,6 +193,9 @@ fi;
193 193
 echo "Copying jar (${jarfile} -> ${RUNNAME}).."
194 194
 cp ${jarfile} ${RUNNAME}
195 195
 
196
+# Remove plugins added by createAllPluginJar
197
+zip -d ${RUNNAME} plugins plugins/*
198
+
196 199
 if [ "${plugins}" != "" ]; then
197 200
 	echo "Adding plugins to jar"
198 201
 	ln -sf ${jarPath}"/plugins"

+ 0
- 3
installer/release.sh View File

@@ -164,9 +164,6 @@ if [ "${plugins}" = "*" -o "${plugins_linux}" = "*" -o "${plugins_windows}" = "*
164 164
 	if [ "${plugins_osx}" = "*" ]; then plugins_osx=${allPlugins}; fi
165 165
 fi;
166 166
 
167
-# Remove plugins added by createAllPluginJar
168
-zip -d dist/DMDirc.jar plugins plugins/*
169
-
170 167
 if [ ${isSVN} -eq 1 ]; then
171 168
 	VERSION=""
172 169
 	if [ "${LAST}" != "" ]; then

Loading…
Cancel
Save