[nginx] Configure: fixed autotest cleanup commands.

Sergey Kandaurov pluknet at nginx.com
Wed Jul 31 14:18:01 UTC 2013


details:   http://hg.nginx.org/nginx/rev/434548349838
branches:  
changeset: 5309:434548349838
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Wed Jul 31 18:16:40 2013 +0400
description:
Configure: fixed autotest cleanup commands.

Previously, if configured with --with-cc="clang -g", the autotest.dSYM
directories were left unremoved.

diffstat:

 auto/cc/sunc         |  2 +-
 auto/endianness      |  4 ++--
 auto/feature         |  2 +-
 auto/include         |  2 +-
 auto/lib/test        |  2 +-
 auto/types/sizeof    |  2 +-
 auto/types/typedef   |  2 +-
 auto/types/uintptr_t |  2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)

diffs (91 lines):

diff -r 0ff3dc9081a1 -r 434548349838 auto/cc/sunc
--- a/auto/cc/sunc	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/cc/sunc	Wed Jul 31 18:16:40 2013 +0400
@@ -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
 
diff -r 0ff3dc9081a1 -r 434548349838 auto/endianness
--- a/auto/endianness	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/endianness	Wed Jul 31 18:16:40 2013 +0400
@@ -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"
diff -r 0ff3dc9081a1 -r 434548349838 auto/feature
--- a/auto/feature	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/feature	Wed Jul 31 18:16:40 2013 +0400
@@ -120,4 +120,4 @@ else
     echo "----------"    >> $NGX_AUTOCONF_ERR
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
diff -r 0ff3dc9081a1 -r 434548349838 auto/include
--- a/auto/include	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/include	Wed Jul 31 18:16:40 2013 +0400
@@ -58,4 +58,4 @@ else
     echo "----------"    >> $NGX_AUTOCONF_ERR
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
diff -r 0ff3dc9081a1 -r 434548349838 auto/lib/test
--- a/auto/lib/test	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/lib/test	Wed Jul 31 18:16:40 2013 +0400
@@ -37,4 +37,4 @@ else
     echo " not found"
 fi
 
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
diff -r 0ff3dc9081a1 -r 434548349838 auto/types/sizeof
--- a/auto/types/sizeof	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/types/sizeof	Wed Jul 31 18:16:40 2013 +0400
@@ -45,7 +45,7 @@ if [ -x $NGX_AUTOTEST ]; then
 fi
 
 
-rm -f $NGX_AUTOTEST
+rm -rf $NGX_AUTOTEST*
 
 
 case $ngx_size in
diff -r 0ff3dc9081a1 -r 434548349838 auto/types/typedef
--- a/auto/types/typedef	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/types/typedef	Wed Jul 31 18:16:40 2013 +0400
@@ -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"
diff -r 0ff3dc9081a1 -r 434548349838 auto/types/uintptr_t
--- a/auto/types/uintptr_t	Tue Jul 30 17:27:55 2013 +0400
+++ b/auto/types/uintptr_t	Wed Jul 31 18:16:40 2013 +0400
@@ -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



More information about the nginx-devel mailing list