15 Sep
2006
15 Sep
'06
3 a.m.
Revision: 146 Author: ssen@mit.edu Date: 2006-09-14 20:00:39 -0700 (Thu, 14 Sep 2006) Log Message: ----------- fix extraction on 10.4 Modified Paths: -------------- trunk/extract.sh Modified: trunk/extract.sh =================================================================== --- trunk/extract.sh 2006-09-13 21:48:31 UTC (rev 145) +++ trunk/extract.sh 2006-09-15 03:00:39 UTC (rev 146) @@ -37,9 +37,9 @@ esac done -tar --help | grep -- --strip-components > /dev/null 2>&1 -if [ $? -eq 0 ]; then + +if [ "`tar --help | grep -- --strip-components 2> /dev/null`" ]; then TARSTRIP=--strip-components else TARSTRIP=--strip-path