From a1f56311e741b168082c93b170c245d62a1f8186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20H=C3=B6hn?= Date: Sat, 14 Mar 2015 14:51:42 +0100 Subject: [PATCH] minor syntax improvements --- install_zotero.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install_zotero.sh b/install_zotero.sh index 82a355b..12cb29a 100755 --- a/install_zotero.sh +++ b/install_zotero.sh @@ -65,13 +65,13 @@ echo "remove composer" rm composer.phar echo "install add_user script" -cp $cur_dir/add_user /srv/zotero/dataserver/admin +cp "$cur_dir/add_user" /srv/zotero/dataserver/admin echo "install change_password script" -cp $cur_dir/change_password /srv/zotero/dataserver/admin +cp "$cur_dir/change_password" /srv/zotero/dataserver/admin echo "patch master.sql" -cp $cur_dir/master.sql /srv/zotero/dataserver/misc +cp "$cur_dir/master.sql" /srv/zotero/dataserver/misc echo "prepare directory rights" chown www-data:www-data /srv/zotero/dataserver/tmp @@ -91,15 +91,15 @@ if [[ $SSL = y ]] ; certtool -p --sec-param high --outfile /etc/apache2/zotero.key certtool -s --load-privkey /etc/apache2/zotero.key --outfile /etc/apache2/zotero.cert else - cp $cur_dir/zotero.key /etc/apache2/zotero.key - cp $cur_dir/zotero.cert /etc/apache2/zotero.cert + cp "$cur_dir/zotero.key" /etc/apache2/zotero.key + cp "$cur_dir/zotero.cert" /etc/apache2/zotero.cert fi fi read -p "Do you want to use SSL certificates for LibreS3? (y/n)" SSL_LibreS3 if [[ $SSL_LibreS3 = y ]] ; then - cat $cur_dir/sx.cert >> /srv/zotero/dataserver/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem + cat "$cur_dir/sx.cert" >> /srv/zotero/dataserver/vendor/guzzle/guzzle/src/Guzzle/Http/Resources/cacert.pem fi echo "enable rewrite support for apache2 server"