Finish convert scripts

This commit is contained in:
Nico Schottelius 2007-08-16 22:34:39 +02:00
parent 967613b4c5
commit db5bd32b3b
2 changed files with 5 additions and 1 deletions

View file

@ -15,4 +15,6 @@ fi
dir="$1" dir="$1"
script=$(echo $0 | sed 's/\.sh$/.sub.sh/') 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."

View file

@ -14,6 +14,8 @@ fi
tmp=$(mktemp) tmp=$(mktemp)
echo "Working on $1 ..."
for option in $(cat "$1"); do for option in $(cat "$1"); do
echo "${option}" >> "${tmp}" echo "${option}" >> "${tmp}"
done done