mirror of
https://github.com/curl/curl.git
synced 2026-08-03 15:30:50 +03:00
parent
4cd239fbf6
commit
1e41bec96a
1 changed files with 1 additions and 10 deletions
11
buildconf
11
buildconf
|
|
@ -64,16 +64,7 @@ findtool(){
|
||||||
#
|
#
|
||||||
removethis(){
|
removethis(){
|
||||||
if test "$#" = "1"; then
|
if test "$#" = "1"; then
|
||||||
find . -depth -name $1 -print > buildconf.tmp.$$
|
find . -depth -name $1 -print -exec rm -rf {} \;
|
||||||
while read fdname
|
|
||||||
do
|
|
||||||
if test -f "$fdname"; then
|
|
||||||
rm -f "$fdname"
|
|
||||||
elif test -d "$fdname"; then
|
|
||||||
rm -f -r "$fdname"
|
|
||||||
fi
|
|
||||||
done < buildconf.tmp.$$
|
|
||||||
rm -f buildconf.tmp.$$
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue