Merge pull request #17595 from ttuegel/stage-1

nixos/stage-1: fix antiquotation
This commit is contained in:
Nikolay Amiantov
2016-08-08 18:32:55 +04:00
committed by GitHub

View File

@@ -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"