about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-08-08 18:32:55 +0400
committerGitHub <noreply@github.com>2016-08-08 18:32:55 +0400
commitd7544072d7eb3d4198ba77227633a02be914a80e (patch)
tree4330c96e7e01689d442935900a975fd498a11841
parentca5b3368ca8156e13e5395098b7610d65aedb713 (diff)
parentee36bb85886e4a6be1b172f5ec692727a8fe5893 (diff)
downloadnixlib-d7544072d7eb3d4198ba77227633a02be914a80e.tar
nixlib-d7544072d7eb3d4198ba77227633a02be914a80e.tar.gz
nixlib-d7544072d7eb3d4198ba77227633a02be914a80e.tar.bz2
nixlib-d7544072d7eb3d4198ba77227633a02be914a80e.tar.lz
nixlib-d7544072d7eb3d4198ba77227633a02be914a80e.tar.xz
nixlib-d7544072d7eb3d4198ba77227633a02be914a80e.tar.zst
nixlib-d7544072d7eb3d4198ba77227633a02be914a80e.zip
Merge pull request #17595 from ttuegel/stage-1
nixos/stage-1: fix antiquotation
-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"