diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-08 18:32:55 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-08 18:32:55 +0400 |
commit | d7544072d7eb3d4198ba77227633a02be914a80e (patch) | |
tree | 4330c96e7e01689d442935900a975fd498a11841 | |
parent | ca5b3368ca8156e13e5395098b7610d65aedb713 (diff) | |
parent | ee36bb85886e4a6be1b172f5ec692727a8fe5893 (diff) |
Merge pull request #17595 from ttuegel/stage-1
nixos/stage-1: fix antiquotation
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
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 21a49d45789e0..a74cfafdd37fd 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" |