From 2457dec1a90101d720e89e8027376742e2f3c327 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 28 Sep 2021 01:21:59 -0400 Subject: python: fix `[` bashism The == is a bashism and not in POSIX, so switch to standard =. Signed-off-by: Mike Frysinger Signed-off-by: Paul Moore --- src/python/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.1