]> xenbits.xensource.com Git - people/dariof/xen-tools.git/commitdiff
Use grep rather than rgrep.
authorStéphane Jourdois <sjourdois@gmail.com>
Sat, 24 Jul 2010 15:45:47 +0000 (17:45 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Mon, 26 Jul 2010 18:24:37 +0000 (20:24 +0200)
grep -r is really more standard than rgrep, and does the same thing.
chmod modules.t file.

t/modules.sh

index 34eac2ba760a1c634f92ffe712169bbed38352fb..f9e2a15a53e3ccaa68082943c374cc465877cb41 100755 (executable)
@@ -25,10 +25,11 @@ use Test::More qw( no_plan );
 EOF
 
 
-for i in `rgrep '^use ' .. | grep -v Expect | grep -v POSIX | grep -v Xen:: | grep -v Moose | awk '{print $2}' | tr -d \r\;\(\) | sort | uniq`; \
+for i in `grep '^use ' -r .. | grep -v Expect | grep -v POSIX | grep -v Xen:: | grep -v Moose | awk '{print $2}' | tr -d \r\;\(\) | sort | uniq`; \
     do \
      echo "BEGIN{ use_ok( '$i' ); }"; \
      echo "require_ok( '$i' );" ; \
      printf '\n' ; \
 done
 
+chmod 750 modules.t