fixincludes: Avoid removing '.'.
� * fixincludes: Avoid removing '.'. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/inclhack.tpl: Likewise. * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt. From-SVN: r27440
This commit is contained in:
parent
a718fe3186
commit
babb4c65be
@ -1572,7 +1572,7 @@ fi
|
||||
|
||||
echo 'Removing unneeded directories:'
|
||||
cd $LIB
|
||||
files=`find . -type d -print | sort -r`
|
||||
files=`find . -type d \! -name '.' -print | sort -r`
|
||||
for file in $files; do
|
||||
rmdir $LIB/$file > /dev/null 2>&1
|
||||
done
|
||||
|
@ -224,7 +224,7 @@ fi
|
||||
|
||||
echo 'Removing unneeded directories:'
|
||||
cd $LIB
|
||||
files=`find . -type d -print | sort -r`
|
||||
files=`find . -type d \! -name '.' -print | sort -r`
|
||||
for file in $files; do
|
||||
rmdir $LIB/$file > NUL 2>&1
|
||||
done
|
||||
|
@ -393,7 +393,7 @@ find . -name DONE -exec rm -f '{}' ';'
|
||||
|
||||
echo 'Removing unneeded directories:'
|
||||
cd $LIB
|
||||
all_dirs=`find . -type d -print | sort -r`
|
||||
all_dirs=`find . -type d \! -name '.' -print | sort -r`
|
||||
for file in $all_dirs; do
|
||||
rmdir $LIB/$file > /dev/null 2>&1
|
||||
done
|
||||
|
@ -3102,7 +3102,7 @@ find . -name DONE -exec rm -f '{}' ';'
|
||||
|
||||
echo 'Removing unneeded directories:'
|
||||
cd $LIB
|
||||
all_dirs=`find . -type d -print | sort -r`
|
||||
all_dirs=`find . -type d \! -name '.' -print | sort -r`
|
||||
for file in $all_dirs; do
|
||||
rmdir $LIB/$file > /dev/null 2>&1
|
||||
done
|
||||
|
@ -403,7 +403,7 @@ find . -name DONE -exec rm -f '{}' ';'
|
||||
|
||||
echo 'Removing unneeded directories:'
|
||||
cd $LIB
|
||||
all_dirs=`find . -type d -print | sort -r`
|
||||
all_dirs=`find . -type d \! -name '.' -print | sort -r`
|
||||
for file in $all_dirs; do
|
||||
rmdir $LIB/$file > /dev/null 2>&1
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user