diff --git platform/script/install_qgle_mac platform/script/install_qgle_mac
index c6747ab..f1bd364 100755
|
|
|
38 | 38 | |
39 | 39 | #!/bin/sh |
40 | 40 | |
41 | | touch /Applications/qgle.check 2>/dev/null |
42 | | QGLEDIR= |
43 | | if test -f /Applications/qgle.check; then |
44 | | QGLEDIR=/Applications |
45 | | else |
46 | | mkdir -p ~/Applications |
47 | | QGLEDIR=~/Applications |
48 | | fi |
49 | | rm -f /Applications/qgle.check 2>/dev/null |
50 | | rm -rf $QGLEDIR/QGLE.app |
51 | | cp -r ./build/bin/QGLE.app $QGLEDIR/ |
| 41 | mkdir -p $DESTDIR$QGLEDIR 2>/dev/null |
| 42 | cp -r ./build/bin/QGLE.app $DESTDIR$QGLEDIR/ |
52 | 43 | |
53 | 44 | echo "" |
54 | 45 | echo "****************************************************************" |
55 | | echo "QGLE has been installed in: $QGLEDIR/QGLE.app" |
| 46 | echo "QGLE has been installed in: $DESTDIR$QGLEDIR/QGLE.app" |
56 | 47 | echo "****************************************************************" |