Configure: fixed autotest cleanup commands.

Previously, if configured with --with-cc="clang -g", the autotest.dSYM
directories were left unremoved.
This commit is contained in:
Sergey Kandaurov 2013-07-31 18:16:40 +04:00
parent c118aa6d22
commit ce36edfdd9
8 changed files with 9 additions and 9 deletions

View 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

View 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"

View File

@ -120,4 +120,4 @@ else
echo "----------" >> $NGX_AUTOCONF_ERR
fi
rm $NGX_AUTOTEST*
rm -rf $NGX_AUTOTEST*

View File

@ -58,4 +58,4 @@ else
echo "----------" >> $NGX_AUTOCONF_ERR
fi
rm $NGX_AUTOTEST*
rm -rf $NGX_AUTOTEST*

View File

@ -37,4 +37,4 @@ else
echo " not found"
fi
rm $NGX_AUTOTEST*
rm -rf $NGX_AUTOTEST*

View File

@ -45,7 +45,7 @@ if [ -x $NGX_AUTOTEST ]; then
fi
rm -f $NGX_AUTOTEST
rm -rf $NGX_AUTOTEST*
case $ngx_size in

View 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"

View 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