nixpkgs/pkgs/development/compilers/blackdown/builder.sh
2004-08-24 09:12:01 +00:00

22 lines
243 B
Bash
Executable file

set -e
. $stdenv/setup
cp $src .
bin=`basename $src`
chmod u+x $bin
alias more=cat
yes yes | ./$bin
mkdir $out
mv $dirname/* $out/
# remove crap in the root directory
for file in $out/*
do
if test -f $file ; then
rm $file
fi
done