[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5636] Don't create new-year backup directory if it alread
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5636] Don't create new-year backup directory if it already exists |
Date: |
Thu, 03 Jan 2013 22:43:15 +0000 |
Revision: 5636
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5636
Author: chicares
Date: 2013-01-03 22:43:15 +0000 (Thu, 03 Jan 2013)
Log Message:
-----------
Don't create new-year backup directory if it already exists
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/GNUmakefile
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2013-01-03 22:17:19 UTC (rev 5635)
+++ lmi/trunk/ChangeLog 2013-01-03 22:43:15 UTC (rev 5636)
@@ -31703,3 +31703,10 @@
Write copyright notice on one line, so it'll be updated automatically.
This precludes oversights such as the one fixed 20110323T1518Z.
+20130103T2243Z <address@hidden> [545]
+
+ GNUmakefile
+Don't create new-year backup directory if it already exists. This
+prevents overwriting the contents of last year's backup directory when
+the 'happy_new_year' target's instructions are overlooked.
+
Modified: lmi/trunk/GNUmakefile
===================================================================
--- lmi/trunk/GNUmakefile 2013-01-03 22:17:19 UTC (rev 5635)
+++ lmi/trunk/GNUmakefile 2013-01-03 22:43:15 UTC (rev 5636)
@@ -374,8 +374,8 @@
.PHONY: happy_new_year
happy_new_year: source_clean
+ $(MKDIR) $(backup_directory)
$(TOUCH) --date=$(old_year)0101 BOY
- $(MKDIR) --parents $(backup_directory)
for z in *; \
do \
[ $$z -nt BOY ] \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5636] Don't create new-year backup directory if it already exists,
Greg Chicares <=