From 421a796a1b6461f4860475964e46293d3a1452e5 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Nov 21 2011 20:01:53 +0000 Subject: Fix find -maxdepth syntax err in cleanup_vm.sh --- diff --git a/utils/cleanup_vm.sh b/utils/cleanup_vm.sh index e90491a..7e2e09d 100644 --- a/utils/cleanup_vm.sh +++ b/utils/cleanup_vm.sh @@ -22,7 +22,7 @@ fi yum -y reinstall \* cd /etc -for x in `find . -maxdepth=2 -type f -name \*.rpmnew`; do +for x in `find . -maxdepth 2 -type f -name \*.rpmnew`; do a=$( echo $x | sed -e 's/.rpmnew//' ) rm -f $a mv $x $a