[lbzip2/el4] replacing dash with posix bash

lzap lzap at fedoraproject.org
Thu Jun 2 11:45:32 UTC 2011


commit 9e703dfaec2773fb28c128d698180476302d2cbb
Author: Lukas Zapletal <lzap+git at redhat.com>
Date:   Thu Jun 2 13:45:00 2011 +0200

    replacing dash with posix bash

 lbzip2-makefile.patch |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lbzip2-makefile.patch b/lbzip2-makefile.patch
index d704ac6..f01e67a 100644
--- a/lbzip2-makefile.patch
+++ b/lbzip2-makefile.patch
@@ -13,10 +13,10 @@ diff -ur lbzip2.orig/Makefile lbzip2/Makefile
 -
 -LDFLAGS=-s $$($(SHELL) lfs.sh LDFLAGS)
 -LIBS=-l pthread -l bz2 $$($(SHELL) lfs.sh LIBS)
-+USE_CFLAGS=$(shell /bin/dash lfs.sh CFLAGS) -D _XOPEN_SOURCE=500 -pipe -ansi \
++USE_CFLAGS=$(shell /bin/bash --posix lfs.sh CFLAGS) -D _XOPEN_SOURCE=500 -pipe -ansi \
 +  -pedantic $(CFLAGS)
-+USE_LDFLAGS=$(LDFLAGS) $(shell /bin/dash lfs.sh LDFLAGS)
-+USE_LIBS=$(LIBS) -l pthread -l bz2 $(shell /bin/dash lfs.sh LIBS)
++USE_LDFLAGS=$(LDFLAGS) $(shell /bin/bash --posix lfs.sh LDFLAGS)
++USE_LIBS=$(LIBS) -l pthread -l bz2 $(shell /bin/bash --posix lfs.sh LIBS)
  
  lbzip2: main.o lbzip2.o lbunzip2.o lbunzip2_single.o lacos_rbtree.o
 -	$(CC) -o lbzip2 $(LDFLAGS) main.o lbzip2.o lbunzip2.o \


More information about the scm-commits mailing list