Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
cd10a232
Commit
cd10a232
authored
Apr 24, 2017
by
Herbert Valerio Riedel
🕺
Browse files
Guard yet another /bin/sh `for in` loop against empty vars
This is a follow-up to
df679403
which missed `INSTALL_BINS`
parent
1c27e5b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
cd10a232
...
...
@@ -907,9 +907,11 @@ endef
install_bins
:
$(INSTALL_BINS) $(INSTALL_SCRIPTS)
$(INSTALL_DIR)
"
$(DESTDIR)$(bindir)
"
ifneq
"$(INSTALL_BINS)" ""
for
i
in
$(INSTALL_BINS)
;
do
\
$(INSTALL_PROGRAM)
$(INSTALL_BIN_OPTS)
$$
i
"
$(DESTDIR)$(bindir)
"
;
\
done
endif
ifneq
"$(INSTALL_SCRIPTS)" ""
for
i
in
$(INSTALL_SCRIPTS)
;
do
\
$(INSTALL_SCRIPT)
$(INSTALL_OPTS)
$$
i
"
$(DESTDIR)$(bindir)
"
;
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment