Update of /cvsroot/monetdb/sql
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv698

Modified Files:
        rpm.mk.in 
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: rpm.mk.in
===================================================================
RCS file: /cvsroot/monetdb/sql/rpm.mk.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- rpm.mk.in   6 Sep 2007 07:15:45 -0000       1.19
+++ rpm.mk.in   6 Sep 2007 07:38:46 -0000       1.20
@@ -61,7 +61,7 @@
        done
 
 cleanup_distr:
-       find sql-* -perm -0111 -type f ! -name \*.bat ! -name \*.sh ! -exec 
grep -q '^#!' {} \; -print | xargs --no-run-if-empty chmod a-x
+       find sql-* -perm -0100 -type f ! -name \*.bat ! -name \*.sh ! -exec 
grep -q '^#!' {} \; -exec chmod a-x {} \;
        find sql-* -name \*.in ! -name configure.in ! -name \*.spec.in -print | 
while read i; do test -f $${i%.in} && rm -f $${i%.in}; done || true
 
 dist-hook: cleanup_distr


-------------------------------------------------------------------------
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-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to