Copy without quotes

This commit is contained in:
Bob Mottram 2018-03-08 12:42:21 +00:00
parent a012bc8477
commit 2ad3c4037f
1 changed files with 2 additions and 1 deletions

View File

@ -525,7 +525,8 @@ make install
EOF
fi
cp "$rootdir/usr/local/lib/libtoxcore*" "$rootdir/usr/lib/"
# shellcheck disable=SC2086
cp $rootdir/usr/local/lib/libtoxcore* "$rootdir/usr/lib/"
cp "${rootdir}${INSTALL_DIR}/toxcore/other/bootstrap_daemon/tox-bootstrapd.service" "$rootdir/etc/systemd/system/"
sed -i 's|ExecStart=.*|ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf|g' "$rootdir/etc/systemd/system/tox-bootstrapd.service"
if [ "${rootdir}" ]; then