diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-09-02 01:17:39 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2005-09-02 01:17:39 +0000 |
commit | 746d3a1f2a45df3c7d5233692e6bc9014065565e (patch) | |
tree | 2210502a284ebbc0ff575c3880dff39365780117 | |
parent | 63ac463b0355ae0f9bc86a879980c9fbd0ab4a00 (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
-rwxr-xr-x | recvconf | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |