[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5637] Fix defect introduced 20120508T1347Z: missing quote
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5637] Fix defect introduced 20120508T1347Z: missing quotes in shell command |
Date: |
Thu, 03 Jan 2013 23:11:14 +0000 |
Revision: 5637
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5637
Author: chicares
Date: 2013-01-03 23:11:14 +0000 (Thu, 03 Jan 2013)
Log Message:
-----------
Fix defect introduced 20120508T1347Z: missing quotes in shell command
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/GNUmakefile
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2013-01-03 22:43:15 UTC (rev 5636)
+++ lmi/trunk/ChangeLog 2013-01-03 23:11:14 UTC (rev 5637)
@@ -31710,3 +31710,10 @@
prevents overwriting the contents of last year's backup directory when
the 'happy_new_year' target's instructions are overlooked.
+20130103T2311Z <address@hidden> [545]
+
+ GNUmakefile
+Fix defect introduced 20120508T1347Z: missing quotes in shell command.
+Code added to work around an empty argument was itself defective,
+producing "[: too many arguments".
+
Modified: lmi/trunk/GNUmakefile
===================================================================
--- lmi/trunk/GNUmakefile 2013-01-03 22:43:15 UTC (rev 5636)
+++ lmi/trunk/GNUmakefile 2013-01-03 23:11:14 UTC (rev 5637)
@@ -392,7 +392,7 @@
@$(GREP) '$(old_year)[, ]*$(old_year)' * || true
@$(GREP) '$(new_year)[, ]*$(old_year)' * || true
@$(GREP) '$(new_year)[, ]*$(new_year)' * || true
- @[ -z $(wildcard *.?pp) ] || $(GREP) '$(old_year)' *.?pp \
+ @[ -z '$(wildcard *.?pp)' ] || $(GREP) '$(old_year)' *.?pp \
| $(SED) \
-e '/$(old_year)[, ]*$(new_year)/d' \
-e'/[$$]Id: .* $(old_year)-.*[$$]/d' \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5637] Fix defect introduced 20120508T1347Z: missing quotes in shell command,
Greg Chicares <=