mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 14:00:00 -04:00
just use test -f
This commit is contained in:
parent
e915dcf455
commit
2284b7356d
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ restore_files () {
|
|||
git checkout HEAD -- doc/arm/*.html doc/arm/Bv9ARM.pdf
|
||||
git checkout HEAD -- bin/*/*.html bin/*/*.[0-9]
|
||||
# don't update the EXCLUDED file
|
||||
if [ -n `git ls-files EXCLUDED` ]; then
|
||||
if [ -f EXCLUDED ]; then
|
||||
git checkout HEAD -- EXCLUDED
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue