3
0
Fork 0
forked from mirrors/nixpkgs

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
commit d7544072d7

View file

@ -90,7 +90,7 @@ let
[ ! -f "$out/lib/$(basename $LIB)" ] && cp -pdv $LIB $out/lib [ ! -f "$out/lib/$(basename $LIB)" ] && cp -pdv $LIB $out/lib
while [ "$(readlink $LIB)" != "" ]; do while [ "$(readlink $LIB)" != "" ]; do
LINK="$(readlink $LIB)" LINK="$(readlink $LIB)"
if [ "${LINK:0:1}" != "/" ]; then if [ "''${LINK:0:1}" != "/" ]; then
LINK="$(dirname $LIB)/$LINK" LINK="$(dirname $LIB)/$LINK"
fi fi
LIB="$LINK" LIB="$LINK"