aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkimage.sh')
-rwxr-xr-x[-rw-r--r--]scripts/mkimage.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh
index b8203fb205..baf3380edb 100644..100755
--- a/scripts/mkimage.sh
+++ b/scripts/mkimage.sh
@@ -28,7 +28,10 @@ _hostkeys=""
_simulate=""
_checksum=""
+scriptdir="$(dirname $0)"
OUTDIR="$PWD"
+RELEASE="${build_date}"
+
msg() {
if [ -n "$quiet" ]; then return 0; fi
@@ -182,7 +185,7 @@ build_profile() {
}
# load plugins
-load_plugins "$(dirname $0)"
+load_plugins "$scriptdir"
[ -z "$HOME" ] || load_plugins "$HOME/.mkimage"
mkimage_yaml="$(dirname $0)"/mkimage-yaml.sh