]> git.kaiwu.me - nginx.git/commitdiff
Configure: fixed autotest cleanup commands.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 31 Jul 2013 14:16:40 +0000 (18:16 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 31 Jul 2013 14:16:40 +0000 (18:16 +0400)
Previously, if configured with --with-cc="clang -g", the autotest.dSYM
directories were left unremoved.

auto/cc/sunc
auto/endianness
auto/feature
auto/include
auto/lib/test
auto/types/sizeof
auto/types/typedef
auto/types/uintptr_t

index dd9ccedfbaaee673d6e4235ae5b970f94711b767..8f12d7cd7fe0c2df958581b7c6947436675e3adb 100644 (file)
@@ -30,7 +30,7 @@ if [ -x $NGX_AUTOTEST ]; then
     ngx_sunc_ver=`$NGX_AUTOTEST`
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
 
 # 1424 == 0x590, Sun Studio 12
 
index 87311a0f16e2bf08ec0b15f2130e27946d37d34d..93da2f80d996c8a20c83d72d34aa09a0daac84ae 100644 (file)
@@ -34,10 +34,10 @@ if [ -x $NGX_AUTOTEST ]; then
         echo " big endian"
     fi
 
-    rm $NGX_AUTOTEST*
+    rm -rf $NGX_AUTOTEST*
 
 else
-    rm $NGX_AUTOTEST*
+    rm -rf $NGX_AUTOTEST*
 
     echo
     echo "$0: error: cannot detect system byte ordering"
index c13e51dfb828095127a98b2d9a592bc24f46cf26..1145f28684b172075c5023b4e80a62ae8f73871f 100644 (file)
@@ -120,4 +120,4 @@ else
     echo "----------"    >> $NGX_AUTOCONF_ERR
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
index 3466fda15b343410e7eea45a89aa07154cd510d0..e34dabdae1d7a26caac0f15fdbd89159bef46392 100644 (file)
@@ -58,4 +58,4 @@ else
     echo "----------"    >> $NGX_AUTOCONF_ERR
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
index 907e2353b7f5a68eadd67571307fa5610fe34d38..ba943a29d40574b42938eb5b5412323f7bb82ae8 100644 (file)
@@ -37,4 +37,4 @@ else
     echo " not found"
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
index e1d405c650059530394027ad2eb1afb6d21f2f16..9215a545fc4c58f8f4948335500ad1e107996e65 100644 (file)
@@ -45,7 +45,7 @@ if [ -x $NGX_AUTOTEST ]; then
 fi
 
 
-rm -f $NGX_AUTOTEST
+rm -rf $NGX_AUTOTEST*
 
 
 case $ngx_size in
index d81229331fde2bca589c7e988da182551df4be3e..8b5c3689ced137ed84ad93bebd0c7e515270ff63 100644 (file)
@@ -49,7 +49,7 @@ END
         fi
     fi
 
-    rm -f $NGX_AUTOTEST
+    rm -rf $NGX_AUTOTEST*
 
     if [ $ngx_found = no ]; then
         echo $ngx_n " $ngx_try not found$ngx_c"
index 2f19080352b14b24d71e06c5e3c3b9356ba3ce0a..f3cdccb2274314e7210c18cc16315dd247a248a8 100644 (file)
@@ -33,7 +33,7 @@ else
     echo $ngx_n " uintptr_t not found" $ngx_c
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
 
 
 if [ $found = no ]; then