Fix in install of curl

svn path=/nixpkgs/trunk/; revision=6258
This commit is contained in:
Martin Bravenboer 2006-08-27 00:28:53 +00:00
parent 961b20c1b7
commit 4b5fd3990a

View File

@ -1,5 +1,12 @@
source $STDENV/setup
if test -z "$out"; then
stdenv=$STDENV
out=$OUT
src=$SRC
exename=$EXENAME
fi
mkdir $OUT
mkdir $OUT/bin
cp $SRC $OUT/bin/$EXENAME
source $stdenv/setup
mkdir $out
mkdir $out/bin
cp $src $out/bin/$exename