Commit 2f471f6e authored by Mark Andrews's avatar Mark Andrews
Browse files

just use test -f

parent e72a8114
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment