diff options
Diffstat (limited to 'distrib/miniroot/runlist.sh')
-rw-r--r-- | distrib/miniroot/runlist.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/distrib/miniroot/runlist.sh b/distrib/miniroot/runlist.sh new file mode 100644 index 00000000000..1ea9ff12198 --- /dev/null +++ b/distrib/miniroot/runlist.sh @@ -0,0 +1,13 @@ +# $NetBSD: runlist.sh,v 1.1 1995/12/18 22:47:38 pk Exp $ + +if [ "X$1" = "X-d" ]; then + SHELLCMD=cat + shift +else + SHELLCMD="sh -e" +fi + +( while [ "X$1" != "X" ]; do + cat $1 + shift +done ) | awk -f ${CURDIR}/list2sh.awk | ${SHELLCMD} |