Skip to content

Commit

Permalink
Configure: fixed autotest cleanup commands.
Browse files Browse the repository at this point in the history
Previously, if configured with --with-cc="clang -g", the autotest.dSYM
directories were left unremoved.
  • Loading branch information
pluknet committed Jul 31, 2013
1 parent c118aa6 commit ce36edf
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion auto/cc/sunc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions auto/endianness
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion auto/feature
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ else
echo "----------" >> $NGX_AUTOCONF_ERR
fi

rm $NGX_AUTOTEST*
rm -rf $NGX_AUTOTEST*
2 changes: 1 addition & 1 deletion auto/include
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ else
echo "----------" >> $NGX_AUTOCONF_ERR
fi

rm $NGX_AUTOTEST*
rm -rf $NGX_AUTOTEST*
2 changes: 1 addition & 1 deletion auto/lib/test
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ else
echo " not found"
fi

rm $NGX_AUTOTEST*
rm -rf $NGX_AUTOTEST*
2 changes: 1 addition & 1 deletion auto/types/sizeof
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ -x $NGX_AUTOTEST ]; then
fi


rm -f $NGX_AUTOTEST
rm -rf $NGX_AUTOTEST*


case $ngx_size in
Expand Down
2 changes: 1 addition & 1 deletion auto/types/typedef
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion auto/types/uintptr_t
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce36edf

Please sign in to comment.