File: 06configfiles.diff

package info (click to toggle)
efax 1%3A0.9a-25
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 828 kB
  • sloc: ansic: 6,763; sh: 4,039; makefile: 80
file content (29 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Paolo P. <pp@ieee.org>
Date: Fri, 20 Jun 2003 08:20:16 +0200
Subject: Actually read other CONFIGFILES (Closes: #198149)

diff -Nuar efax-0.9a.orig/fax efax-0.9a/fax
--- efax-0.9a.orig/fax	Sat Apr 19 00:00:00 2003
+++ efax-0.9a.orig/fax	Fri Jun 20 07:57:05 2003
@@ -408,13 +408,17 @@
 # ****************************************************************
 
 # --- source configuration files
-
-for f in $CONFIGFILES
-do
+oCONFIGFILES=
+while [ "$CONFIGFILES" != "$oCONFIGFILES" ]; do
+# loop needed if we allow CONFIGFILES to change in default CONFIGFILES'
+  oCONFIGFILES=$CONFIGFILES
+  for f in $CONFIGFILES
+  do
 	if [ -r $f ]
 	then
 		. $f
 	fi
+  done
 done
 
 # --- set any variables given on command line