Mercurial > hg > control-images
view images/busybox-test/build.sh @ 12:afc6248ee1d6
Typo preventing shell script from reliably using bash.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 29 Oct 2011 12:42:27 -0500 |
parents | 242a1e03ce15 |
children | 0e641b064adf |
line wrap: on
line source
#!/bin/bash # Run the busybox test suite. EXTRACT_ALL=1 URL=http://www.busybox.net/downloads/busybox-1.18.4.tar.bz2 \ SHA1=d285855e5770b0fb7caf477dd41ce0863657b975 \ maybe_fork "download || dienow" cat > "$WORK"/init << 'EOF' || dienow #!/bin/bash echo === $HOST Run busybox test suite cp -sfR /mnt/busybox busybox && cd busybox && make defconfig && ln -s /bin/busybox busybox && cd testsuite && ./runtest && cd .. && rm -rf busybox || exit 1 sync EOF chmod +x "$WORK"/init || dienow