[Lsb-messages] /var/www/bzr/lsb/devel/specdb r1259: Fix error code masking to actually work.

Jeff Licquia licquia at linuxfoundation.org
Tue Jan 22 17:14:44 UTC 2013


------------------------------------------------------------
revno: 1259
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: specdb
timestamp: Tue 2013-01-22 12:14:44 -0500
message:
  Fix error code masking to actually work.
modified:
  makefile
-------------- next part --------------
=== modified file 'makefile'
--- a/makefile	2013-01-22 16:56:05 +0000
+++ b/makefile	2013-01-22 17:14:44 +0000
@@ -69,7 +69,7 @@
 	@echo $*
 	@mysqldump --add-drop-table --no-data $(DBOPTS) $(DUMPOPTS) $$LSBDB $* | grep -v 'Server version' |grep -v 'character_set_client' > $*.sql
 	@if grep -q $* elements_list; then \
-	  mysqldump $(DBOPTS) $(DUMPOPTS) $$LSBDB $* | LC_ALL=C grep INSERT || true > $*.init; \
+	  mysqldump $(DBOPTS) $(DUMPOPTS) $$LSBDB $* | (LC_ALL=C grep INSERT || true) > $*.init; \
 	else \
 	  rm -f "$$PWD/$*.init" && mysql $(DBOPTS) $$LSBDB -e "select * from $* into outfile '$$PWD/$*.init'"; \
 	fi



More information about the lsb-messages mailing list