From db5bd32b3b55a2704e050c5b157cdf560132440b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 16 Aug 2007 22:34:39 +0200 Subject: [PATCH] Finish convert scripts --- tools/config-pre-0.6-to-0.6.sh | 4 +++- tools/config-pre-0.6-to-0.6.sub.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/config-pre-0.6-to-0.6.sh b/tools/config-pre-0.6-to-0.6.sh index 3f4c876..5efce68 100755 --- a/tools/config-pre-0.6-to-0.6.sh +++ b/tools/config-pre-0.6-to-0.6.sh @@ -15,4 +15,6 @@ fi dir="$1" script=$(echo $0 | sed 's/\.sh$/.sub.sh/') -find "${dir}/sources/" -name rsync_options -exec "${skript}" {} \; +find "${dir}/sources/" -type f -name rsync_options -exec "${script}" {} \; + +echo "Finished." diff --git a/tools/config-pre-0.6-to-0.6.sub.sh b/tools/config-pre-0.6-to-0.6.sub.sh index dde17cf..b4e0bd3 100755 --- a/tools/config-pre-0.6-to-0.6.sub.sh +++ b/tools/config-pre-0.6-to-0.6.sub.sh @@ -14,6 +14,8 @@ fi tmp=$(mktemp) +echo "Working on $1 ..." + for option in $(cat "$1"); do echo "${option}" >> "${tmp}" done