More portable use of find
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 29 May 2012 14:20:27 +0000 (16:20 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 29 May 2012 14:20:27 +0000 (16:20 +0200)
to make things work on Solaris

test/run_pazpar2.sh

index b221d10..ff03af6 100755 (executable)
@@ -153,7 +153,7 @@ if [ -z "$SKIP_PAZPAR2" ] ; then
 fi
 
 # clean out empty diff files
-find . -name "$TEST*.dif" -empty -delete 
+find . -name "$TEST*.dif" -size 0c -print|xargs rm
 
 exit $code