mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
parent
4cd239fbf6
commit
1e41bec96a
11
buildconf
11
buildconf
@ -64,16 +64,7 @@ findtool(){
|
||||
#
|
||||
removethis(){
|
||||
if test "$#" = "1"; then
|
||||
find . -depth -name $1 -print > buildconf.tmp.$$
|
||||
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.$$
|
||||
find . -depth -name $1 -print -exec rm -rf {} \;
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user