Mercurial > hg > aboriginal
comparison forkbomb.sh @ 253:f93932523a08
Reorder forkbomb build so ./host-tools.sh gets built first. Then toybox
utilities can be used to extract all the other packages (patch, bunzip,
sha1sum, echo, eventually tar...) Motivated by a bug I encountered in gnu
patch on Kubuntu 7.10 that's insisting linux-2.6.13-cmdline.patch is
a reversed patch, when it isn't. (That patch has been happily applying for
over a year now, and I examined it by hand. The bug's in the Ubuntu patch
command. Not my problem.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 01 Jan 2008 03:08:29 -0600 |
parents | 8b0d2080707c |
children | 863e15b54e17 |
comparison
equal
deleted
inserted
replaced
252:aa03feec947a | 253:f93932523a08 |
---|---|
15 if [ "$1" != "--watch" ] | 15 if [ "$1" != "--watch" ] |
16 then | 16 then |
17 if [ $# -ne 0 ] | 17 if [ $# -ne 0 ] |
18 then | 18 then |
19 (nice -n 20 ./download.sh && | 19 (nice -n 20 ./download.sh && |
20 nice -n 20 ./download.sh --extract && | 20 nice -n 20 ./host-tools.sh && |
21 nice -n 20 ./host-tools.sh) || exit 1 | 21 nice -n 20 ./download.sh --extract ) || exit 1 |
22 fi | 22 fi |
23 for i in `cd sources/configs; ls` | 23 for i in `cd sources/configs; ls` |
24 do | 24 do |
25 if [ "$1" == "--nofork" ] | 25 if [ "$1" == "--nofork" ] |
26 then | 26 then |