diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-02-17 23:55:05 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-02-17 23:55:05 +0100 |
commit | f00c8f66bda62018c95afb9e8b9009e8657bcb1d (patch) | |
tree | 36db009202a40f11a438199ad02b0ac5321b26f4 | |
parent | df4310025b67ce4a619cea5b07dd77c971997d74 (diff) | |
download | devtools-f00c8f66bda62018c95afb9e8b9009e8657bcb1d.tar.gz devtools-f00c8f66bda62018c95afb9e8b9009e8657bcb1d.tar.xz |
escape line breaks in find command
-rwxr-xr-x | lddd | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -19,12 +19,12 @@ for tree in $PATH $libdirs $extras; do echo DIR $tree # Get list of files in tree. - files=$(find $tree -type f ! -name '*.a' ! -name '*.la' ! -name '*.py*' ! -name '*.txt' ! -name '*.h' ! -name '*.ttf' ! - -name '*.rb' ! -name '*.ko' ! -name '*.pc' ! -name '*.enc' ! -name '*.cf' ! -name '*.def' ! -name '*.rules' ! -name - '*.cmi' ! -name '*.mli' ! -name '*.ml' ! -name '*.cma' ! -name '*.cmx' ! -name '*.cmxa' ! -name '*.pod' ! -name '*.pm' - ! -name '*.pl' ! -name '*.al' ! -name '*.tcl' ! -name '*.bs' ! -name '*.o' ! -name '*.png' ! -name '*.gif' ! -name '*.cmo' - ! -name '*.cgi' ! -name '*.defs' ! -name '*.conf' ! -name '*_LOCALE' ! -name 'Compose' ! -name '*_OBJS' ! -name - '*.msg' ! -name '*.mcopclass' ! -name '*.mcoptype') + files=$(find $tree -type f ! -name '*.a' ! -name '*.la' ! -name '*.py*' ! -name '*.txt' ! -name '*.h' ! -name '*.ttf' ! \ + -name '*.rb' ! -name '*.ko' ! -name '*.pc' ! -name '*.enc' ! -name '*.cf' ! -name '*.def' ! -name '*.rules' ! -name \ + '*.cmi' ! -name '*.mli' ! -name '*.ml' ! -name '*.cma' ! -name '*.cmx' ! -name '*.cmxa' ! -name '*.pod' ! -name '*.pm' \ + ! -name '*.pl' ! -name '*.al' ! -name '*.tcl' ! -name '*.bs' ! -name '*.o' ! -name '*.png' ! -name '*.gif' ! -name '*.cmo' \ + ! -name '*.cgi' ! -name '*.defs' ! -name '*.conf' ! -name '*_LOCALE' ! -name 'Compose' ! -name '*_OBJS' ! -name '*.msg' ! \ + -name '*.mcopclass' ! -name '*.mcoptype') IFS=$ifs for i in $files; do if [ `file $i | grep -c 'ELF'` -ne 0 ]; then |