nix-super/tests/functional/dependencies.builder0.sh

17 lines
274 B
Bash
Raw Permalink Normal View History

2013-10-17 02:12:43 +03:00
[ "${input1: -2}" = /. ]
[ "${input2: -2}" = /. ]
2004-05-04 16:22:33 +03:00
mkdir $out
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
ln -s $input2 $out/reference-to-input-2
# Self-reference.
ln -s $out $out/self
2014-02-26 19:59:01 +02:00
# Executable.
echo program > $out/program
chmod +x $out/program
echo FOO