bash-completion: fixed hard-coded reference to /etc

svn path=/nixpkgs/trunk/; revision=29226
This commit is contained in:
Peter Simons 2011-09-12 17:31:11 +00:00
parent 17925a9d3c
commit 7bc8c122bd

View file

@ -14,6 +14,7 @@ stdenv.mkDerivation {
postInstall = ''
rm $out/etc/profile.d/bash_completion.sh
rmdir $out/etc/profile.d
sed -i -e "s|/etc/bash_completion|$out/etc/bash_completion|g" $out/etc/bash_completion
'';
meta = {