about summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-08-08 09:28:17 -0500
committerThomas Tuegel <ttuegel@gmail.com>2016-08-08 09:28:17 -0500
commitee36bb85886e4a6be1b172f5ec692727a8fe5893 (patch)
tree4330c96e7e01689d442935900a975fd498a11841 /nixos/modules/system/boot/stage-1.nix
parentca5b3368ca8156e13e5395098b7610d65aedb713 (diff)
downloadnixlib-ee36bb85886e4a6be1b172f5ec692727a8fe5893.tar
nixlib-ee36bb85886e4a6be1b172f5ec692727a8fe5893.tar.gz
nixlib-ee36bb85886e4a6be1b172f5ec692727a8fe5893.tar.bz2
nixlib-ee36bb85886e4a6be1b172f5ec692727a8fe5893.tar.lz
nixlib-ee36bb85886e4a6be1b172f5ec692727a8fe5893.tar.xz
nixlib-ee36bb85886e4a6be1b172f5ec692727a8fe5893.tar.zst
nixlib-ee36bb85886e4a6be1b172f5ec692727a8fe5893.zip
nixos/stage-1: fix antiquotation
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
1 files changed, 1 insertions, 1 deletions
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"