Mercurial > hg > aboriginal
comparison sources/native-builds/hello-world.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 | 6b20e20bb291 |
children |
comparison
equal
deleted
inserted
replaced
1273:dadbb8873a36 | 1274:b41dbea3ba14 |
---|---|
10 [ $# -ne 1 ] && echo "usage: $0 FILENAME" >&2 && exit 1 | 10 [ $# -ne 1 ] && echo "usage: $0 FILENAME" >&2 && exit 1 |
11 [ -e "$1" ] && echo "$1 exists" && exit 0 | 11 [ -e "$1" ] && echo "$1 exists" && exit 0 |
12 | 12 |
13 # Set up working directories | 13 # Set up working directories |
14 | 14 |
15 WORK="$WORK"/hello-world | 15 WORK="$BUILD/control-images/hello-world" |
16 blank_tempdir "$WORK" | 16 blank_tempdir "$WORK" |
17 | 17 |
18 cat > "$WORK"/init << 'EOF' || dienow | 18 cat > "$WORK"/init << 'EOF' || dienow |
19 #!/bin/bash | 19 #!/bin/bash |
20 | 20 |