diff --git a/install.sh b/install.sh index 55657a6..06aecef 100755 --- a/install.sh +++ b/install.sh @@ -25,5 +25,5 @@ fi chmod go-rwx "${HOME}/.config/ovh_dns_ensure.conf" script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -sed "s#__src_folder__#${script_dir}#g" wrapper.sh > "${destination}/ovh_dns_ensure.sh" +sed "s#__src_folder__#${script_dir}#g" "${script_dir}/wrapper.sh" > "${destination}/ovh_dns_ensure.sh" chmod +x "${destination}/ovh_dns_ensure.sh"