Merge pull request #205 from Blub/2019-12-19/bail-on-error-in-for-loops
Makefile: bail out on error in for-loops
This commit is contained in:
commit
2aa7427e2b
@ -136,17 +136,17 @@ install-am: all-am
|
|||||||
$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
ln -sf newgrp $(DESTDIR)$(ubindir)/sg
|
ln -sf newgrp $(DESTDIR)$(ubindir)/sg
|
||||||
ln -sf vipw $(DESTDIR)$(usbindir)/vigr
|
ln -sf vipw $(DESTDIR)$(usbindir)/vigr
|
||||||
for i in $(suidbins); do \
|
set -e; for i in $(suidbins); do \
|
||||||
chmod $(suidperms) $(DESTDIR)$(bindir)/$$i; \
|
chmod $(suidperms) $(DESTDIR)$(bindir)/$$i; \
|
||||||
done
|
done
|
||||||
for i in $(suidubins); do \
|
set -e; for i in $(suidubins); do \
|
||||||
chmod $(suidperms) $(DESTDIR)$(ubindir)/$$i; \
|
chmod $(suidperms) $(DESTDIR)$(ubindir)/$$i; \
|
||||||
done
|
done
|
||||||
for i in $(suidusbins); do \
|
set -e; for i in $(suidusbins); do \
|
||||||
chmod $(suidperms) $(DESTDIR)$(usbindir)/$$i; \
|
chmod $(suidperms) $(DESTDIR)$(usbindir)/$$i; \
|
||||||
done
|
done
|
||||||
if WITH_TCB
|
if WITH_TCB
|
||||||
for i in $(shadowsgidubins); do \
|
set -e; for i in $(shadowsgidubins); do \
|
||||||
chown root:shadow $(DESTDIR)$(ubindir)/$$i; \
|
chown root:shadow $(DESTDIR)$(ubindir)/$$i; \
|
||||||
chmod $(sgidperms) $(DESTDIR)$(ubindir)/$$i; \
|
chmod $(sgidperms) $(DESTDIR)$(ubindir)/$$i; \
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user