From 3487aeff3aeb35d3507428d7eb24cf149c26bce8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 28 May 2006 13:51:21 +0000 Subject: (install_now): need earlier expansion in xargs case, so TARPROG is not expanded in subshell (where it isn't set). Report from Don Pellegrino. git-svn-id: svn://tug.org/texlive/trunk@1600 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-live.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Master/install-live.sh b/Master/install-live.sh index ce28008bfdd..d1fd1ab051d 100755 --- a/Master/install-live.sh +++ b/Master/install-live.sh @@ -305,12 +305,12 @@ install_now() sort -u $f > $f.uniq if test "x$TAROPT" = "x"; then $debug && tarverbose=v - (cd $CDDIR; $XARGS sh -c 'tar cf - $* \ - | (cd '"$TEXDIR"'; umask 0; $TARPROG x${tarverbose}f -)' sh < $f.uniq ) + (cd $CDDIR && $XARGS sh -c 'tar cf - $* \ + | (cd '"$TEXDIR && umask 0 && $TARPROG x${tarverbose}f -)" sh <$f.uniq) else $debug && tarverbose=-v - (cd $CDDIR; $TARPROG -c -f - $TAROPT $f.uniq ) \ - | (cd $TEXDIR; umask 0; $TARPROG -x $tarverbose -f -) + (cd $CDDIR && $TARPROG -c -f - $TAROPT $f.uniq) \ + | (cd $TEXDIR && umask 0 && $TARPROG -x $tarverbose -f -) fi done echo -- cgit v1.2.3