summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-08-19 06:28:31 +0200
committerChristoph Lohmann <20h@r-36.net>2015-08-19 06:28:31 +0200
commit8e88984a40c495982f1f336a12ab972d40642061 (patch)
treec12a27602841a9f4e6998e0d30daa448f91abc14 /Makefile
parent294142a806c9423ab47309c8871815e12e7c0107 (diff)
downloadsurf-8e88984a40c495982f1f336a12ab972d40642061.tar.gz
surf-8e88984a40c495982f1f336a12ab972d40642061.tar.bz2
surf-8e88984a40c495982f1f336a12ab972d40642061.zip
Fixing the paxctl check.
Thanks quinq for the tip.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b7c757..539609c 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ install: all
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f surf ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/surf
- @[ -e /sbin/paxctl ] && /sbin/paxctl -m ${DESTDIR}${PREFIX}/bin/surf
+ @if [ -x /sbin/paxctl ]; then /sbin/paxctl -m ${DESTDIR}${PREFIX}/bin/surf; fi
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/surf.1