From 1eab39cdce8d59660ef3000cd7c6b8684a720dca Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Wed, 4 May 2016 16:39:24 +0000 Subject: [PATCH] makeself: fix patch to find the makeself header properly --- pkgs/applications/misc/makeself/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/makeself/default.nix b/pkgs/applications/misc/makeself/default.nix index 3ba0faef9682..b1b4e66cfe49 100644 --- a/pkgs/applications/misc/makeself/default.nix +++ b/pkgs/applications/misc/makeself/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { mv makeself.sh $out/bin/makeself mv makeself.1 $out/share/man/man1/ mv makeself-header.sh $out/share/${name} - sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=`dirname $0`/../share/${name}/makeself-header.sh|' -i $out/bin/makeself + sed -e 's|HEADER=`dirname "$0"`/makeself-header.sh|HEADER=`dirname $0`/../share/${name}/makeself-header.sh|' -i $out/bin/makeself ''; meta = with stdenv.lib; { homepage = http://megastep.org/makeself;