summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-28 01:21:59 -0400
committerPaul Moore <paul@paul-moore.com>2021-09-28 17:52:39 -0400
commit2457dec1a90101d720e89e8027376742e2f3c327 (patch)
tree6774983952adc650a18b8d17211cd614a02bc83e /src
parent4f34c6eb17c2ffcb0fce5911ddbc161d97517476 (diff)
downloadlibseccomp-2457dec1a90101d720e89e8027376742e2f3c327.tar.gz
python: fix `[` bashism
The == is a bashism and not in POSIX, so switch to standard =. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src')
-rw-r--r--src/python/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/Makefile.am b/src/python/Makefile.am
index f71ec24..760a81b 100644
--- a/src/python/Makefile.am
+++ b/src/python/Makefile.am
@@ -36,7 +36,7 @@ EXTRA_DIST = libseccomp.pxd seccomp.pyx setup.py
all-local: build
build: ../libseccomp.la libseccomp.pxd seccomp.pyx setup.py
- [ ${srcdir} == ${builddir} ] || cp ${srcdir}/seccomp.pyx ${builddir}
+ [ ${srcdir} = ${builddir} ] || cp ${srcdir}/seccomp.pyx ${builddir}
${PY_BUILD} && touch build
install-exec-local: build
@@ -48,5 +48,5 @@ uninstall-local:
${RM} -f ${DESTDIR}/${pyexecdir}/install_files.txt
clean-local:
- [ ${srcdir} == ${builddir} ] || ${RM} -f ${builddir}/seccomp.pyx
+ [ ${srcdir} = ${builddir} ] || ${RM} -f ${builddir}/seccomp.pyx
${RM} -rf seccomp.c build