diff --git a/bin/buildForWindows.sh b/bin/buildForWindows.sh index b991b7ce3..818522ad0 100755 --- a/bin/buildForWindows.sh +++ b/bin/buildForWindows.sh @@ -17,32 +17,6 @@ is_cmd zip || fatal "Please install zip" # Is zip installed? is_cmd unzip || fatal "Please install unzip" -======= -#Move to the folder where ep-lite is installed -cd $(dirname $0) - -#Was this script started in the bin folder? if yes move out -if [ -d "../bin" ]; then - cd "../" -fi - -#Is wget installed? -hash wget > /dev/null 2>&1 || { - echo "Please install wget" >&2 - exit 1 -} - -#Is zip installed? -hash zip > /dev/null 2>&1 || { - echo "Please install zip" >&2 - exit 1 -} - -#Is zip installed? -hash unzip > /dev/null 2>&1 || { - echo "Please install unzip" >&2 - exit 1 -} START_FOLDER=$(pwd); TMP_FOLDER=$(mktemp -d) @@ -86,4 +60,4 @@ zip -9 -r "$START_FOLDER"/etherpad-lite-win.zip ./* log "clean up..." rm -rf "$TMP_FOLDER" -log "Finished. You can find the zip in the Etherpad root folder, it's called etherpad-lite-win.zip" \ No newline at end of file +log "Finished. You can find the zip in the Etherpad root folder, it's called etherpad-lite-win.zip"