aboutsummaryrefslogtreecommitdiffstats
path: root/case2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'case2.sh')
-rw-r--r--case2.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/case2.sh b/case2.sh
new file mode 100644
index 0000000..524b26d
--- /dev/null
+++ b/case2.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 'cd .. && rm -rf $pkg-\$$upkg' >> \$$SRCDIR/\$$build.sh;\n ;;";
+done