Replace previous change by different test
[minix.git] / distrib / common / runlist.sh
blobac5b5071ecd7b8beed30fc73b474e154a270afec
1 # $NetBSD: runlist.sh,v 1.1 2009/09/18 09:24:59 abs Exp $
3 if [ "X$1" = "X-d" ]; then
4 SHELLCMD=cat
5 shift
6 else
7 SHELLCMD="sh -e"
8 fi
10 ( while [ "X$1" != "X" ]; do
11 cat $1
12 shift
13 done ) | awk -f ${NETBSDSRCDIR}/distrib/common/list2sh.awk | ${SHELLCMD}