From 5511989854671aa28628a43cf723603211297241 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Thu, 31 Oct 2019 12:01:34 +0100
Subject: Use a work directory
---
bin/mkrelease.sh | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100755 bin/mkrelease.sh
(limited to 'bin')
diff --git a/bin/mkrelease.sh b/bin/mkrelease.sh
new file mode 100755
index 0000000..7c712e0
--- /dev/null
+++ b/bin/mkrelease.sh
@@ -0,0 +1,23 @@
+#! /usr/bin/env sh
+
+readonly BASEDIR=$(CDPATH="" cd -- "$(dirname -- "$0")/.." && pwd -P)
+
+main()
+{
+ if [ -z "$1" ]
+ then
+ usage
+ exit 1
+ fi
+
+ cd -- "$BASEDIR"
+ make -f tools/star/Makefile all VERSION="$1"
+ make -f tools/star/Makefile release VERSION="$1"
+}
+
+usage()
+{
+ print "NYI"
+}
+
+main "$@"
--
cgit v1.1