WORK_DIR=$SCRIPT_DIR/$THEME_NAME.tmp/
XPI_FILE=$SCRIPT_DIR/$THEME_NAME.xpi
-echo ensuring a clean work directory...
+echo "Ensuring a clean work directory..."
if [ -e $WORK_DIR ] ; then
rm -rf $WORK_DIR/*
fi
mkdir -p $WORK_DIR/chrome
-echo copying theme files...
+echo "Copying theme files..."
cp -a $THEME_DIR/* $WORK_DIR/
cd $WORK_DIR
-echo removing x-* file not intended for shipping...
+echo "Removing x-* files not intended for shipping..."
rm -rf x-*
-echo creating new xpi file...
+echo "Creating new xpi file..."
if [ -e $XPI_FILE ] ; then
rm $XPI_FILE
fi
zip -rX9Dq $XPI_FILE *
-echo cleaning work directory...
+echo "Cleaning work directory..."
rm -rf $WORK_DIR