mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
parent
4cd239fbf6
commit
1e41bec96a
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…
Reference in New Issue
Block a user