tFixing the paxctl check. - surf - customized build of surf, the suckless webki… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8e88984a40c495982f1f336a12ab972d40642061 | |
parent 294142a806c9423ab47309c8871815e12e7c0107 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Wed, 19 Aug 2015 06:28:31 +0200 | |
Fixing the paxctl check. | |
Thanks quinq for the tip. | |
Diffstat: | |
M Makefile | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -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/… | |
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 | |
@mkdir -p ${DESTDIR}${MANPREFIX}/man1 | |
@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/s… |