From 746d3a1f2a45df3c7d5233692e6bc9014065565e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 2 Sep 2005 01:17:39 +0000 Subject: Move the file location and fix a bug where it was hard coded in a 2nd place git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@6 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- recvconf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'recvconf') diff --git a/recvconf b/recvconf index 39f33e7..c7d353a 100755 --- a/recvconf +++ b/recvconf @@ -1,11 +1,13 @@ #!/bin/bash -e ## Copyright (c) 2005 David B. Harris +## Copyright (c) 2005 Peter Palfrader + ## This text is released under the "three-clause BSD license". ## The full text of the license is available at the end of this file. printf "\nrecvconf on %s processing:\n" "$(hostname -s)" -FILELIST=/etc/oftc/recvconf.files +FILELIST=/etc/NOREPLY/recvconf.files temptar="$(mktemp)" chmod 0600 "$temptar" @@ -151,7 +153,7 @@ fi # Check for any leftover files here; if there are any, exit with an error and print the list if [ ! -z "$(find . -type f)" ]; then - printf "The following files were not listed in /etc/oftc/recvconf.files:\n%s\n" "$(find . -type f)" >&2 + printf "The following files were not listed in $FILELIST:\n%s\n" "$(find . -type f)" >&2 exit 1 fi -- cgit v1.2.3