mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-25 15:32:07 +00:00
exception.sh contains bashisms
Hi folks, The script, src/exception.sh, contains so called bashisms (constructs not supported by POSIX, but present as bash extensions). This means when trying to build on systems where /bin/sh is not bash, the build fails with an error. This patch uses bash to run exception.sh. This bug affects a significant subset of Debian and Debian derivative machines. manoj Signed-off-by: Manoj Srivastava <srivasta@debian.org> Signed-off-by: Joshua Brindle <method@manicmethod.com>
This commit is contained in:
parent
48412c3930
commit
a69fb97edd
@ -88,7 +88,7 @@ $(LIBPC): $(LIBPC).in
|
||||
sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBDIR):; s:@includedir@:$(INCLUDEDIR):' < $< > $@
|
||||
|
||||
selinuxswig_python_exception.i: ../include/selinux/selinux.h
|
||||
sh exception.sh > $@
|
||||
bash exception.sh > $@
|
||||
|
||||
audit2why.lo: audit2why.c
|
||||
$(CC) $(CFLAGS) -I$(PYINC) -fPIC -DSHARED -c -o $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user