[Odcctools-changes] [146] trunk/extract.sh

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 14 20:00:45 PDT 2006


Revision: 146
Author:   ssen at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/odcctools-changes/attachments/20060914/43267f97/attachment.html


More information about the Odcctools-changes mailing list