diff options
Diffstat (limited to 'case1.sh')
-rw-r--r-- | case1.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/case1.sh b/case1.sh new file mode 100644 index 0000000..1e1935a --- /dev/null +++ b/case1.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +for pkg in autoconf automake bash binutils bison bootscripts bzip2 cloog coreutils dejagnu dhcpcd diffutils e2fsprogs eglibc expect file findutils flex gawk gcc gettext gmp grep groff gzip hfsutils iana-etc iproute2 iputils kbd kmod less libee libestr libtool linux m4 make man man-pages mpc mpfr ncurses parted powerpcutils patch perl pkg-config ppl procps psmisc readline rsyslog sed shadow sysvinit tar tcl texinfo udev vim xz yaboot zlib; do +upkg=`echo $pkg | sed 's/./\u&/g'` +build=build +SRCDIR=SRCDIR +echo -e " '$pkg')\n echo 'tar xf $pkg-\$$upkg.tar.xz && cd $pkg-\$$upkg' >> \$$SRCDIR/\$$build.sh;\n ;;" +done |