diff options
Diffstat (limited to 'WebKitTools/CygwinDownloader/make-zip.sh')
-rwxr-xr-x | WebKitTools/CygwinDownloader/make-zip.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/WebKitTools/CygwinDownloader/make-zip.sh b/WebKitTools/CygwinDownloader/make-zip.sh deleted file mode 100755 index 4a389a9..0000000 --- a/WebKitTools/CygwinDownloader/make-zip.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -PYTHONEXE=$(cygpath -u "${SYSTEMDRIVE}\\Python25\\python.exe") -ZIPNAME="cygwin-downloader.zip" - -if [[ ! -f "${PYTHONEXE}" ]]; then - echo "Couldn't find python.exe at ${PYTHONEXE}" 1>&2 - exit 1 -fi - -"${PYTHONEXE}" setup.py py2exe || { - echo "Failed executing setup.py" 1>&2 - exit 1 -} - -rm -f "${ZIPNAME}" - -cd dist - -zip -r ../"${ZIPNAME}" * || { - echo "Failed to create cygwin-downloader" 1>&2 - exit 1 -} - -cd .. - -rm -rf build dist || { - echo "Failed to cleanup cygwin-downloader and build directories" 1>&2 - exit 1 -} |