aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/macosx/create_packages.sh
blob: 5a669b4db95aa7ed9e9ab7fab9aedd9b77285b51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
realpath() {
    [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
}

cdir=`pwd`
absolute_path=`realpath $0`
this_dir=`dirname $absolute_path`
parent_dir=`dirname $this_dir`
parent_dir=`dirname $parent_dir`
cd $parent_dir/output/build
make pkg

cd ..
mv SQLiteStudio/*.zip SQLiteStudio/*.dmg .
cd $cdir