aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/macosx/create_packages.sh
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:06:30 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-12-17 07:06:30 -0500
commit1fdc150116cad39aae5c5da407c3312b47a59e3a (patch)
tree123c79a4d7ad2d45781ba03ce939f7539fb428d8 /scripts/macosx/create_packages.sh
parentfeda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (diff)
New upstream version 3.3.3+dfsg1.upstream/3.3.3+dfsg1
Diffstat (limited to 'scripts/macosx/create_packages.sh')
-rwxr-xr-xscripts/macosx/create_packages.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/macosx/create_packages.sh b/scripts/macosx/create_packages.sh
new file mode 100755
index 0000000..5a669b4
--- /dev/null
+++ b/scripts/macosx/create_packages.sh
@@ -0,0 +1,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