[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#222077: patch to make /var/lib/debbugs/spool/db-h/$(seq -e 00-99) at install time



tag 222077 patch
thanks

The trivial attached patch fixes this bug


Don Armstrong

-- 
Democracy means simply the bludgeoning of the people by the people for
the people.
 -- Oscar Wilde

http://www.donarmstrong.com              http://rzlab.ucr.edu
Index: Makefile
===================================================================
RCS file: /cvs/debbugs/source/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	11 Jan 2004 10:42:58 -0000	1.11
+++ Makefile	31 Dec 2004 13:09:57 -0000
@@ -34,6 +34,11 @@
 $(var_dir)/spool/db-h $(scripts_dir) $(perl_dir) $(examples_dir) $(man8_dir); \
           do test -d $$dir || $(install_exec) -d $$dir; done
 
+	# make db-h spool dirs if they don't exist
+	cd $(var_dir)/spool/db-h; \
+	  for dir in $(shell seq -w 00 99); \
+	    do test -d $$dir || $(install_exec) -d $$dir; done
+
 	# install the scripts
 	$(foreach script,$(scripts_in), $(install_exec) $(script) $(scripts_dir)/$(patsubst scripts/%.in,%,$(script));)
 	$(install_data) scripts/errorlib.in $(scripts_dir)/errorlib

Attachment: signature.asc
Description: Digital signature


Reply to: