SOURCES: dmraid-fix.patch (NEW) - fix files dup, kill bashism

qboosh qboosh at pld-linux.org
Tue May 23 00:41:19 CEST 2006


Author: qboosh                       Date: Mon May 22 22:41:19 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix files dup, kill bashism

---- Files affected:
SOURCES:
   dmraid-fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dmraid-fix.patch
diff -u /dev/null SOURCES/dmraid-fix.patch:1.1
--- /dev/null	Tue May 23 00:41:19 2006
+++ SOURCES/dmraid-fix.patch	Tue May 23 00:41:14 2006
@@ -0,0 +1,19 @@
+--- dmraid/lib/Makefile.in.orig	2006-02-17 17:19:25.000000000 +0100
++++ dmraid/lib/Makefile.in	2006-05-23 00:19:13.798639000 +0200
+@@ -35,7 +35,6 @@
+ 	format/ataraid/pdc.c \
+ 	format/ataraid/sil.c \
+ 	format/ataraid/via.c \
+-	format/ataraid/asr.c \
+ 	format/partition/dos.c
+ 
+ OBJECTS=$(SOURCES:%.c=%.o)
+@@ -66,7 +65,7 @@
+ 	for f in $(INSTALL_TARGETS); \
+ 	do \
+ 		n=$$(basename $${f}) ; \
+-		if [[ "$$n" =~ '.so$$' ]]; then \
++		if echo "$$n" | grep -q '.so$$'; then \
+ 			$(INSTALL) -m 555 $(STRIP) \
+ 				$$f $(libdir)/$${n}. at DMRAID_LIB_VERSION@; \
+ 			$(LN_S) -f $${n}. at DMRAID_LIB_VERSION@ $(libdir)/$${n}; \
================================================================


More information about the pld-cvs-commit mailing list