diff options
author | Karl Berry <karl@freefriends.org> | 2006-05-28 13:51:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-05-28 13:51:21 +0000 |
commit | 3487aeff3aeb35d3507428d7eb24cf149c26bce8 (patch) | |
tree | f0aaaffc39f0dbb9c59b541d6af9ac9b48b60b48 /Master | |
parent | 6b8816ac2f51a7190484533936b63c3b5110ba2c (diff) |
(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
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/install-live.sh | 8 |
1 files 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 |