diff --git a/src/Install.sh b/src/Install.sh
index 307188a09f7e4b2453be98a9c60dd2342584a14b..e9c8b8059554567183dacd6d25324c03a07ee187 100644
--- a/src/Install.sh
+++ b/src/Install.sh
@@ -33,5 +33,5 @@ action () {
 # all package files with no dependencies
 
 for file in *.cpp *.h; do
-  action $file
+  test -f ${file} && action $file
 done