Mercurial > hg > easyhg
comparison deploy/osx/copy-pyqt.sh @ 731:2cb03c4665aa
Include kdiff3 executable in bundle on macOS
| author | Chris Cannam |
|---|---|
| date | Mon, 17 Dec 2018 11:18:55 +0000 |
| parents | c59c17665162 |
| children |
comparison
equal
deleted
inserted
replaced
| 730:f1dc72b940d5 | 731:2cb03c4665aa |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | |
| 3 set -eu | |
| 4 | 2 |
| 5 app="$1" | 3 app="$1" |
| 6 if [ -z "$app" ]; then | 4 if [ -z "$app" ]; then |
| 7 echo "Usage: $0 <appname>" | 5 echo "Usage: $0 <appname>" |
| 8 echo "Provide appname without the .app extension, please" | 6 echo "Provide appname without the .app extension, please" |
| 9 exit 2 | 7 exit 2 |
| 10 fi | 8 fi |
| 9 | |
| 10 set -eu | |
| 11 | 11 |
| 12 PYQT_DIR=/Library/Python/2.7/site-packages/PyQt5 | 12 PYQT_DIR=/Library/Python/2.7/site-packages/PyQt5 |
| 13 | 13 |
| 14 if [ ! -d "$PYQT_DIR" ]; then | 14 if [ ! -d "$PYQT_DIR" ]; then |
| 15 echo "PyQt directory $PYQT_DIR not found - is it installed?" | 15 echo "PyQt directory $PYQT_DIR not found - is it installed?" |
