comparison sources/native-builds/busybox-test.sh @ 1274:b41dbea3ba14

When building control images, the working directory should be in build/control-images.
author Rob Landley <rob@landley.net>
date Sun, 07 Nov 2010 15:54:37 -0600
parents 81bae2e7bc66
children
comparison
equal deleted inserted replaced
1273:dadbb8873a36 1274:b41dbea3ba14
5 source sources/include.sh || exit 1 5 source sources/include.sh || exit 1
6 6
7 [ $# -ne 1 ] && echo "usage: $0 FILENAME" >&2 && exit 1 7 [ $# -ne 1 ] && echo "usage: $0 FILENAME" >&2 && exit 1
8 [ -e "$1" ] && echo "$1" exists && exit 0 8 [ -e "$1" ] && echo "$1" exists && exit 0
9 9
10 WORK="$WORK"/busybox-test && blank_tempdir "$WORK" 10 WORK="$BUILD/control-images/busybox-test" && blank_tempdir "$WORK"
11 11
12 # Don't download busybox, it's got to already be there in standard sources. 12 # Don't download busybox, it's got to already be there in standard sources.
13 13
14 setupfor busybox 14 setupfor busybox
15 cd "$TOP" 15 cd "$TOP"