Browse Source

go to right folder, remove old code

Johann ELSASS 4 years ago
parent
commit
7eede3b4a8
1 changed files with 1 additions and 5 deletions
  1. 1 5
      lazpaint/release/macOS/makedmg.sh

+ 1 - 5
lazpaint/release/macOS/makedmg.sh

@@ -1,16 +1,12 @@
 #!/bin/bash
 #!/bin/bash
 set -e
 set -e
+cd `dirname $0`
 
 
 if ! [ ${OSTYPE:0:6} = "darwin" ]; then
 if ! [ ${OSTYPE:0:6} = "darwin" ]; then
   echo "This script is for OS X only"
   echo "This script is for OS X only"
   exit 1
   exit 1
 fi
 fi
 
 
-if [ -e "macOS" ]; then
-  rm -R macOS
-fi
-
-
 appname=LazPaint
 appname=LazPaint
 appversion=7.1.4
 appversion=7.1.4
 pkgversion=0
 pkgversion=0