nixos/stage-1: fix antiquotation

This commit is contained in:
Thomas Tuegel 2016-08-08 09:28:17 -05:00
parent ca5b3368ca
commit ee36bb8588

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"