mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05: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