3
0
Fork 0
forked from mirrors/nixpkgs

* `mv .../* ...' no longer works if nullglob is on. However, the real

WTF is that the Perl module installation path suddenly has changed
  from $out/lib/site_perl to $out/lib/perl5/site_perl.  Investigating...

svn path=/nixpkgs/branches/stdenv-updates/; revision=15241
This commit is contained in:
Eelco Dolstra 2009-04-22 07:41:31 +00:00
parent 7588d53f37
commit 47b27a6c00

View file

@ -8,7 +8,6 @@ for i in $(IFS=:; echo $PERL5LIB); do
done
oldPreConfigure="$preConfigure"
preConfigure=preConfigure
preConfigure() {
eval "$oldPreConfigure"
@ -45,7 +44,7 @@ postFixup() {
if ! test -e $out/lib/site_perl; then
echo "fixing wrong Perl installation path..."
ensureDir $out/lib/site_perl
mv $out/lib/5.* $out/lib/site_perl
for i in $out/lib/5.*; do mv $i $out/lib/site_perl; done
fi
}