summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2013-07-31 18:16:40 +0400
committerSergey Kandaurov <pluknet@nginx.com>2013-07-31 18:16:40 +0400
commitce36edfdd9f07ad58ec29d47727e5c74d5dee9e4 (patch)
tree6101a2046d1244631f86ba314e16e8d754fe4de7
parentc118aa6d229fd01b42270726d47ab3a991c15a17 (diff)
downloadnginx-ce36edfdd9f07ad58ec29d47727e5c74d5dee9e4.tar.gz
nginx-ce36edfdd9f07ad58ec29d47727e5c74d5dee9e4.tar.bz2
Configure: fixed autotest cleanup commands.
Previously, if configured with --with-cc="clang -g", the autotest.dSYM directories were left unremoved.
-rw-r--r--auto/cc/sunc2
-rw-r--r--auto/endianness4
-rw-r--r--auto/feature2
-rw-r--r--auto/include2
-rw-r--r--auto/lib/test2
-rw-r--r--auto/types/sizeof2
-rw-r--r--auto/types/typedef2
-rw-r--r--auto/types/uintptr_t2
8 files changed, 9 insertions, 9 deletions
diff --git a/auto/cc/sunc b/auto/cc/sunc
index dd9ccedfb..8f12d7cd7 100644
--- a/auto/cc/sunc
+++ b/auto/cc/sunc
@@ -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 --git a/auto/endianness b/auto/endianness
index 87311a0f1..93da2f80d 100644
--- a/auto/endianness
+++ b/auto/endianness
@@ -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 --git a/auto/feature b/auto/feature
index c13e51dfb..1145f2868 100644
--- a/auto/feature
+++ b/auto/feature
@@ -120,4 +120,4 @@ else
echo "----------" >> $NGX_AUTOCONF_ERR
fi
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
diff --git a/auto/include b/auto/include
index 3466fda15..e34dabdae 100644
--- a/auto/include
+++ b/auto/include
@@ -58,4 +58,4 @@ else
echo "----------" >> $NGX_AUTOCONF_ERR
fi
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
diff --git a/auto/lib/test b/auto/lib/test
index 907e2353b..ba943a29d 100644
--- a/auto/lib/test
+++ b/auto/lib/test
@@ -37,4 +37,4 @@ else
echo " not found"
fi
-rm $NGX_AUTOTEST*
+rm -rf $NGX_AUTOTEST*
diff --git a/auto/types/sizeof b/auto/types/sizeof
index e1d405c65..9215a545f 100644
--- a/auto/types/sizeof
+++ b/auto/types/sizeof
@@ -45,7 +45,7 @@ if [ -x $NGX_AUTOTEST ]; then
fi
-rm -f $NGX_AUTOTEST
+rm -rf $NGX_AUTOTEST*
case $ngx_size in
diff --git a/auto/types/typedef b/auto/types/typedef
index d81229331..8b5c3689c 100644
--- a/auto/types/typedef
+++ b/auto/types/typedef
@@ -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 --git a/auto/types/uintptr_t b/auto/types/uintptr_t
index 2f1908035..f3cdccb22 100644
--- a/auto/types/uintptr_t
+++ b/auto/types/uintptr_t
@@ -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