lix-releng-staging/tests/simple.builder.sh
Eelco Dolstra 256eeab711 * Allow the location of the store etc. to be specified using
environment variables.
* Started adding some automatic tests.
* Do a `make check' when building RPMs.
2004-05-04 12:15:30 +00:00

11 lines
187 B
Bash

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