btrfs-progs: small fix for Makefile

line was split so we cannot append anymore because that appends after \

svn path=/nixpkgs/trunk/; revision=31656
This commit is contained in:
Peter Simons 2012-01-18 20:32:45 +00:00
parent 8985708131
commit 7b1be8e27d

View File

@ -33,7 +33,7 @@ rec {
doEnsureBtrfsImage = a.fullDepEntry (''
if ! grep 'progs = ' Makefile | grep btrfs-image; then
sed -e 's/progs = .*/& btrfs-image/' -i Makefile
sed -e 's/progs = \(.*\)\\/progs = \1btrfs-image \\/' -i Makefile
fi
'') ["minInit" "doUnpack"];