diff options
author | Ian Lynagh <igloo@earth.li> | 2008-09-21 11:14:36 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-09-21 11:14:36 +0000 |
commit | 69c3d6ccf567c2862bcb59bd14c764fe29b37fca (patch) | |
tree | 4c6c6a6df0daefc1ffa521fe15fd93ec972e85b7 /libraries/Makefile | |
parent | 7654ff058ca281756dd98ee976685a9261df63f0 (diff) | |
download | haskell-69c3d6ccf567c2862bcb59bd14c764fe29b37fca.tar.gz |
Use -f rather than -e for portability
Diffstat (limited to 'libraries/Makefile')
-rw-r--r-- | libraries/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Makefile b/libraries/Makefile index 8eedd338f2..01400b0e81 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -359,7 +359,7 @@ endif # a Cabal package if we keep it. However, once we drop extralibs we can # probably remove it anyway. echo $(WHERE_AM_I)/ifBuildable/ifBuildable >> $(BIN_DIST_LIST) - for FILE in dph/dph-prim-interface/interface/*.h dph/dph/LICENSE; do if [ -e $$FILE ]; then echo $(WHERE_AM_I)/$$FILE >> $(BIN_DIST_LIST); fi; done + for FILE in dph/dph-prim-interface/interface/*.h dph/dph/LICENSE; do if [ -f $$FILE ]; then echo $(WHERE_AM_I)/$$FILE >> $(BIN_DIST_LIST); fi; done ifeq "$(HADDOCK_DOCS)" "YES" for FILE in gen_contents_index index.html doc-index*.html; do echo $(WHERE_AM_I)/$$FILE >> $(BIN_DIST_LIST); done endif |