aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2020-01-25 16:09:37 -0500
committerJason Woodward2020-01-25 16:09:37 -0500
commit36eeeeef2fbec800e0edf5bb6f277182ad1c6529 (patch)
treefb0ea0c677e3e7290c86205a344308855d627b7d
parent74fddc6980eab3eb0161b856c4c0511c7bff535a (diff)
downloadgslapt-36eeeeef2fbec800e0edf5bb6f277182ad1c6529.tar.gz
fail when building a package if permissions cannot be set
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 9c90aeb..60a4903 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -76,8 +76,8 @@ pkg: all
$(mkinstalldirs) $(PKGDIR)/install
install slack-desc $(PKGDIR)/install/
install slack-required $(PKGDIR)/install/
- -chown $$(stat --format "%u:%g" /usr/sbin) $(PKGDIR)/$(sbindir)
- -chown $$(stat --format "%u:%g" /usr/sbin) $(PKGDIR)/$(sbindir)/@PACKAGE@
+ chown $$(stat --format "%u:%g" /usr/sbin) $(PKGDIR)/$(sbindir)
+ chown $$(stat --format "%u:%g" /usr/sbin) $(PKGDIR)/$(sbindir)/@PACKAGE@
@echo -n "for DESKTOPFILE in " > $(PKGDIR)/install/doinst.sh
@echo -n "$(DESTDIR)/$(datadir)/applications/gslapt.desktop " |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh
@echo "$(DESTDIR)/$(datadir)/applications/gslapt-kde.desktop" |sed -re "s/^\/+//" >> $(PKGDIR)/install/doinst.sh