Closed cheungpat closed 8 years ago
Just want to confirm that this pull request fixes the IFS set (at least on OSX). It otherwise treats n
and t
as separators, doing unexpected things to any paths/commands that contain those characters. Running git-archive-all.sh
without this patch on OSX by itself will yield:
./git-archive-all.sh: line 203: /usr/local/bi: No such file or directory
Note this missing n
as it's turning a$TARCMD
of /usr/local/bin/tar
into /usr/local/bi / ar
The existing line of code makes bash to treat
n
andt
as separator, which causeecho $TARCMD
to print/usr/bi / tar
.