aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimage.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-11-11 14:41:22 -0800
committerNatanael Copa <ncopa@alpinelinux.org>2016-11-14 20:10:40 +0000
commit48bcd519aee4e80fccff91e2c7f44fc43a01c28f (patch)
tree8002cbe67862bab14473ea921a4e73e9baf148ea /scripts/mkimage.sh
parent86da5a104758a199099eee1446f27cdd237754e1 (diff)
downloadaports-48bcd519aee4e80fccff91e2c7f44fc43a01c28f.tar.bz2
aports-48bcd519aee4e80fccff91e2c7f44fc43a01c28f.tar.xz
scripts/mkimg.base.sh: search for apkovl script
search for apkovl script in current dir, in ~/.mkimg and in the dir where the mkimage script was started from.
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