From 71b652f052d8d6a813502b8567d1a24940856918 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 16 Oct 2010 23:04:23 -0500 Subject: [PATCH] script/makepkg: add a blind passthru for testing --- script/makepkg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/script/makepkg b/script/makepkg index 3136576..53ee923 100755 --- a/script/makepkg +++ b/script/makepkg @@ -359,8 +359,8 @@ chport() { # ######## -TARGET="i386" -CONFIG="GENERIC" +TARGET="${TARGET:-i386}" +CONFIG="${CONFIG:-GENERIC}" ROOT="$(realpath "$(dirname "${0}")/../worlds")" @@ -397,3 +397,6 @@ PATH=:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SHELL=/bin/sh TERM=${TERM} " + +# Blind passthru for testing +[ "${#}" ] && "${@}" -- 2.42.0