mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 18:12:46 +00:00
82e678362f
svn path=/nixpkgs/trunk/; revision=4335
27 lines
463 B
Bash
Executable file
27 lines
463 B
Bash
Executable file
set -e
|
|
|
|
source $stdenv/setup
|
|
|
|
cp $src .
|
|
bin=`basename $src`
|
|
chmod u+x $bin
|
|
|
|
# This is required because those GNU coreutils fuckers suddenly
|
|
# removed the `+N' syntax (due to a misguided desire for "standards
|
|
# compliance"), which the Blackdown installer uses.
|
|
export _POSIX2_VERSION=199209
|
|
|
|
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
|