From ee36bb85886e4a6be1b172f5ec692727a8fe5893 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Mon, 8 Aug 2016 09:28:17 -0500 Subject: nixos/stage-1: fix antiquotation --- nixos/modules/system/boot/stage-1.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/system/boot') diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 21a49d45789e..a74cfafdd37f 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -90,7 +90,7 @@ let [ ! -f "$out/lib/$(basename $LIB)" ] && cp -pdv $LIB $out/lib while [ "$(readlink $LIB)" != "" ]; do LINK="$(readlink $LIB)" - if [ "${LINK:0:1}" != "/" ]; then + if [ "''${LINK:0:1}" != "/" ]; then LINK="$(dirname $LIB)/$LINK" fi LIB="$LINK" -- cgit 1.4.1