Skip to content

Commit b481300

Browse files
committed
Change naming of built package.
1 parent 6642620 commit b481300

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

‎makexpi.sh‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -o errexit
3-
APP_NAME=https-everywhere
3+
APP_NAME=https-everywhere-eff
44

55
# builds a .xpi from the git repository, placing the .xpi in the root
66
# of the repository.
@@ -46,7 +46,7 @@ if [ -n "$1" ] && [ "$2" != "--no-recurse" ] ; then
4646
# Now escape from the horrible mess we've made
4747
cd ..
4848
XPI_NAME="$APP_NAME-$1"
49-
cp $SUBDIR/pkg/$XPI_NAME-eff.xpi pkg/
49+
cp $SUBDIR/pkg/$XPI_NAME.xpi pkg/
5050
if! cp $SUBDIR/pkg/$XPI_NAME-amo.xpi pkg/ 2> /dev/null ;then
5151
echo Old version does not support AMO
5252
fi
@@ -122,18 +122,17 @@ fi
122122

123123
# Build the XPI!
124124
rm -f "${XPI_NAME}.xpi"
125-
rm -f "${XPI_NAME}-eff.xpi"
126125
rm -f "${XPI_NAME}-amo.xpi"
127-
python2.7 utils/create_xpi.py -n "${XPI_NAME}-eff.xpi" -x ".build_exclusions""pkg/xpi-eff"
126+
python2.7 utils/create_xpi.py -n "${XPI_NAME}.xpi" -x ".build_exclusions""pkg/xpi-eff"
128127
python2.7 utils/create_xpi.py -n "${XPI_NAME}-amo.xpi" -x ".build_exclusions""pkg/xpi-amo"
129128

130129
echo>&2"Total included rules: `sqlite3 $RULESETS_SQLITE'select count(*) from rulesets'`"
131130
echo>&2"Rules disabled by default: `find src/chrome/content/rules -name "*.xml"| xargs grep -F default_off | wc -l`"
132-
echo>&2"Created ${XPI_NAME}-eff.xpi and ${XPI_NAME}-amo.xpi"
131+
echo>&2"Created ${XPI_NAME}.xpi and ${XPI_NAME}-amo.xpi"
133132

134-
bash utils/android-push.sh "$XPI_NAME-eff.xpi"
133+
bash utils/android-push.sh "$XPI_NAME.xpi"
135134

136135
if [ -n"$BRANCH" ];then
137-
cp $SUBDIR/${XPI_NAME}-eff.xpi $SUBDIR/${XPI_NAME}-amo.xpi pkg
136+
cp $SUBDIR/${XPI_NAME}.xpi $SUBDIR/${XPI_NAME}-amo.xpi pkg
138137
rm -rf $SUBDIR
139138
fi

0 commit comments

Comments
(0)