tvl-depot/tests/substituter2.sh
Eelco Dolstra c6290e42bc * Fix the `--fallback' switch.
* Fix the substitutes tests.
2005-01-25 13:00:12 +00:00

18 lines
216 B
Bash
Executable file

# Set a PATH (!!! impure).
export PATH=/bin:/usr/bin:$PATH
mkdir $out
cat > $out/substituter <<EOF
#! /bin/sh -ex
echo \$*
case \$* in
*)
exit 1
;;
esac
EOF
chmod +x $out/substituter