diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-09-28 01:21:59 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-09-28 17:52:39 -0400 |
commit | 2457dec1a90101d720e89e8027376742e2f3c327 (patch) | |
tree | 6774983952adc650a18b8d17211cd614a02bc83e /src | |
parent | 4f34c6eb17c2ffcb0fce5911ddbc161d97517476 (diff) | |
download | libseccomp-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.am | 4 |
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 |