summaryrefslogtreecommitdiff
path: root/recvconf
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-09-02 01:17:39 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2005-09-02 01:17:39 +0000
commit746d3a1f2a45df3c7d5233692e6bc9014065565e (patch)
tree2210502a284ebbc0ff575c3880dff39365780117 /recvconf
parent63ac463b0355ae0f9bc86a879980c9fbd0ab4a00 (diff)
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
Diffstat (limited to 'recvconf')
-rwxr-xr-xrecvconf6
1 files changed, 4 insertions, 2 deletions
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 <dbharris@eelf.ddts.net>
+## Copyright (c) 2005 Peter Palfrader <peter@palfrader.org>
+
## 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