All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [topic--exception-fix] exception.sh contains bashisms
@ 2009-10-20 15:34 Manoj Srivastava
  2009-11-27 20:03 ` Joshua Brindle
  0 siblings, 1 reply; 2+ messages in thread
From: Manoj Srivastava @ 2009-10-20 15:34 UTC (permalink / raw)
  To: selinux; +Cc: Manoj Srivastava

From: Manoj Srivastava <srivasta@debian.org>

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>
---
 libselinu/xsrc/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile
index 74b1e6a..d0fb0e3 100644
--- a/libselinux/src/Makefile
+++ b/libselinux/src/Makefile
@@ -83,7 +83,7 @@ $(LIBSO): $(LOBJS)
 	ln -sf $@ $(TARGET) 
 
 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 $@ $<
-- 
1.6.5


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [topic--exception-fix] exception.sh contains bashisms
  2009-10-20 15:34 [PATCH] [topic--exception-fix] exception.sh contains bashisms Manoj Srivastava
@ 2009-11-27 20:03 ` Joshua Brindle
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Brindle @ 2009-11-27 20:03 UTC (permalink / raw)
  To: Manoj Srivastava; +Cc: selinux, Manoj Srivastava

Manoj Srivastava wrote:
> From: Manoj Srivastava<srivasta@debian.org>
>
> 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>
> ---
>   libselinu/xsrc/Makefile |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile
> index 74b1e6a..d0fb0e3 100644
> --- a/libselinux/src/Makefile
> +++ b/libselinux/src/Makefile
> @@ -83,7 +83,7 @@ $(LIBSO): $(LOBJS)
>   	ln -sf $@ $(TARGET)
>
>   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 $@ $<

Merged in libselinux 2.0.90

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-27 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-20 15:34 [PATCH] [topic--exception-fix] exception.sh contains bashisms Manoj Srivastava
2009-11-27 20:03 ` Joshua Brindle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.