make, scripts: Add more scripts from ytools/devutil/scripts

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-08 13:40:04 +00:00
commit e4ea74dadc
5 changed files with 6 additions and 6 deletions

View file

@ -426,7 +426,7 @@ build_pkg()
case $pkgfmt in
rpm)
# historical mess:
# pkg.sh -> mkspec_wrapper.sh -> create-mkspec.sh -> mkspec.sh -> spec -> rpmbuild spec > /var/tmp/xy.sh -> pkg.sh milk-install-log
# pkg.sh -> mkspec-wrapper.sh -> create-mkspec.sh -> mkspec.sh -> spec -> rpmbuild spec > /var/tmp/xy.sh -> pkg.sh milk-install-log
deffmt=spec;;
debian|deb)
deffmt=debian;;
@ -436,7 +436,7 @@ build_pkg()
# --- generate spec file
local mkdef_sh=$TOPDIR/make/mk$deffmt.sh
local mkdef_wrapper_sh=$MOD_SCRIPT_DIR/mkspec_wrapper.sh
local mkdef_wrapper_sh=$MOD_SCRIPT_DIR/mkspec-wrapper.sh
[ ! -r $mkdef_wrapper_sh ] && \
fatal "Failed to read package definition deffmt wrapper script \"$mkdef_wrapper_sh\"."

View file

@ -42,7 +42,7 @@ def remove_duplicates(seq):
return [x for x in seq if not (x in seen or seen_add(x))]
def get_os(args = ""):
for d in [ projs_root + '/jw-build/devutil/scripts', '/opt/jw-build/bin' ]:
for d in [ projs_root + '/jw-build/scripts', '/opt/jw-build/bin' ]:
script = d + '/get_os.sh'
if isfile(script):
cmd = '/bin/bash ' + script