aboutsummaryrefslogtreecommitdiff
path: root/tests/simple.builder.sh
blob: dcd9bdb64ad08dc962b8c4da09b5d43b2e504c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
echo "PATH=$PATH"

# Verify that the PATH is empty.
if mkdir foo; then exit 1; fi

# Set a PATH (!!! impure).
export PATH=/bin:/usr/bin:$PATH

mkdir $out

echo "Hello World!" > $out/hello