Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3494/autogen/autogen

Modified Files:
        am.py 
Log Message:
Not all xargs support --no-run-if-empty.
Match files with user x bit set instead of only files with all x bits set.

Index: am.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/am.py,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- am.py       6 Sep 2007 07:15:42 -0000       1.49
+++ am.py       6 Sep 2007 07:45:07 -0000       1.50
@@ -124,7 +124,7 @@
         fd.write("\tmkdir -p $(distdir)/%s\n" % i)
         fd.write("\tcp -pR $(srcdir)/%s/* $(distdir)/%s\n" % (i, i))
         fd.write("\trm -rf `find $(distdir)/%s -name CVS -print`\n" % i)
-        fd.write("\tfind $(distdir)/%s -perm -0111 -type f ! -name \\*.bat ! 
-name \\*.sh ! -exec grep -q '^#!' {} \\; -print | xargs --no-run-if-empty 
chmod a-x\n" % i)
+        fd.write("\tfind $(distdir)/%s -perm -0100 -type f ! -name \\*.bat ! 
-name \\*.sh ! -exec grep -q '^#!' {} \\; -exec chmod a-x {} \\;\n" % i)
 
 def am_extra_headers(fd, var, values, am):
     for i in values:


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to