Finish convert scripts
This commit is contained in:
parent
967613b4c5
commit
db5bd32b3b
2 changed files with 5 additions and 1 deletions
|
@ -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."
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue