fix generator script

This commit is contained in:
Mario Colque 2014-05-14 18:32:24 -03:00
parent bca35f8139
commit cb54a09b5b
2 changed files with 6 additions and 2 deletions

View File

View File

@ -2,9 +2,12 @@
#Description: A simple script to compile and copy only the needed files for the web app.
# Moving to root path
cd ../
# Configs
APPDIR="webapp"
CHROMEDIR="chrome-extension"
APPDIR="./webapp"
CHROMEDIR="./chrome-extension"
LIBDIR="$APPDIR/lib"
DOWNLOADDIR="$APPDIR/download"
@ -57,5 +60,6 @@ zip -r $CHROMEZIPFILE $CHROMEDIR
mkdir -p $CHROMEDOWNLOADDIR
mv $ZIPFILE $DOWNLOADDIR
mv $CHROMEZIPFILE $CHROMEDOWNLOADDIR
cp index-download-chrome.html $CHROMEDOWNLOADDIR/index.html
echo -e "${OpenColor}${Yellow}\nAwesome! Now you have the webapp in ./webapp and the chrome extension files in ./webapp/download/.${CloseColor}"