Code

Fix memory leak in check_http for large pages (Jimmy Bergman - #2957455)
[nagiosplug.git] / tools / distclean
index 5b3388cd024f442666c337edde5fd4afeb1f1370..f5e0ecef373c439c83928e22ab1fcb86c0b17bd7 100755 (executable)
@@ -12,22 +12,22 @@ fi
 
 if [ -f Makefile ]; then
   echo "$0: Makefile present. Cleaning up with 'make distclean'..."
-  make distclean
+  make -i distclean
   if [ $? -ne 0 ]; then
     echo "Uh-oh! Make distclean failed."
-    echo "Please run './config.status' and try again."
     exit 1
   fi
 fi
 
 echo "$0: Removing auto* files..."
 rm -rf autom4te.cache
-find . -type f -name Makefile.in -print0| xargs -0 rm -f
+find . -type f -name Makefile.in -print| xargs rm -f
 rm -f aclocal.m4 compile config.guess config.h.in config.sub configure depcomp
 rm -f m4/Makefile.am
 
 echo "$0: Removing miscelanious files..."
 rm -f po/*.gmo po/stamp-po
+rm -f lib/tests/*.Po
 rm -f doc/developer-guidelines.html
 rm -f INSTALL install-sh missing
 rm -f plugins/t/check_nagios.nagios?.status.???.tmp