From a0660813ea04a000a72909b3aa6086181b78c0a7 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sat, 16 Nov 2019 22:08:39 +0100 Subject: [PATCH] Remove unneeded "sh -c" command wrapper --- 2019.09/apache/entrypoint.sh | 4 ++-- 2019.09/fpm-alpine/entrypoint.sh | 4 ++-- 2019.09/fpm/entrypoint.sh | 4 ++-- 2019.12-dev/apache/entrypoint.sh | 4 ++-- 2019.12-dev/fpm-alpine/entrypoint.sh | 4 ++-- 2019.12-dev/fpm/entrypoint.sh | 4 ++-- docker-entrypoint.sh | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/2019.09/apache/entrypoint.sh b/2019.09/apache/entrypoint.sh index 05d629f..f007407 100755 --- a/2019.09/apache/entrypoint.sh +++ b/2019.09/apache/entrypoint.sh @@ -45,10 +45,10 @@ clone_develop() { # Removing the whole directory first rm -fr /usr/src/friendica - sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica" + git clone -q -b ${friendica_git} "https://github.com/${friendica_repo}" /usr/src/friendica mkdir /usr/src/friendica/addon - sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon" + git clone -q -b ${addons_git} "https://github.com/${friendica_addons_repo}" /usr/src/friendica/addon echo "Download finished" diff --git a/2019.09/fpm-alpine/entrypoint.sh b/2019.09/fpm-alpine/entrypoint.sh index 05d629f..f007407 100755 --- a/2019.09/fpm-alpine/entrypoint.sh +++ b/2019.09/fpm-alpine/entrypoint.sh @@ -45,10 +45,10 @@ clone_develop() { # Removing the whole directory first rm -fr /usr/src/friendica - sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica" + git clone -q -b ${friendica_git} "https://github.com/${friendica_repo}" /usr/src/friendica mkdir /usr/src/friendica/addon - sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon" + git clone -q -b ${addons_git} "https://github.com/${friendica_addons_repo}" /usr/src/friendica/addon echo "Download finished" diff --git a/2019.09/fpm/entrypoint.sh b/2019.09/fpm/entrypoint.sh index 05d629f..f007407 100755 --- a/2019.09/fpm/entrypoint.sh +++ b/2019.09/fpm/entrypoint.sh @@ -45,10 +45,10 @@ clone_develop() { # Removing the whole directory first rm -fr /usr/src/friendica - sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica" + git clone -q -b ${friendica_git} "https://github.com/${friendica_repo}" /usr/src/friendica mkdir /usr/src/friendica/addon - sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon" + git clone -q -b ${addons_git} "https://github.com/${friendica_addons_repo}" /usr/src/friendica/addon echo "Download finished" diff --git a/2019.12-dev/apache/entrypoint.sh b/2019.12-dev/apache/entrypoint.sh index 05d629f..f007407 100755 --- a/2019.12-dev/apache/entrypoint.sh +++ b/2019.12-dev/apache/entrypoint.sh @@ -45,10 +45,10 @@ clone_develop() { # Removing the whole directory first rm -fr /usr/src/friendica - sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica" + git clone -q -b ${friendica_git} "https://github.com/${friendica_repo}" /usr/src/friendica mkdir /usr/src/friendica/addon - sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon" + git clone -q -b ${addons_git} "https://github.com/${friendica_addons_repo}" /usr/src/friendica/addon echo "Download finished" diff --git a/2019.12-dev/fpm-alpine/entrypoint.sh b/2019.12-dev/fpm-alpine/entrypoint.sh index 05d629f..f007407 100755 --- a/2019.12-dev/fpm-alpine/entrypoint.sh +++ b/2019.12-dev/fpm-alpine/entrypoint.sh @@ -45,10 +45,10 @@ clone_develop() { # Removing the whole directory first rm -fr /usr/src/friendica - sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica" + git clone -q -b ${friendica_git} "https://github.com/${friendica_repo}" /usr/src/friendica mkdir /usr/src/friendica/addon - sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon" + git clone -q -b ${addons_git} "https://github.com/${friendica_addons_repo}" /usr/src/friendica/addon echo "Download finished" diff --git a/2019.12-dev/fpm/entrypoint.sh b/2019.12-dev/fpm/entrypoint.sh index 05d629f..f007407 100755 --- a/2019.12-dev/fpm/entrypoint.sh +++ b/2019.12-dev/fpm/entrypoint.sh @@ -45,10 +45,10 @@ clone_develop() { # Removing the whole directory first rm -fr /usr/src/friendica - sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica" + git clone -q -b ${friendica_git} "https://github.com/${friendica_repo}" /usr/src/friendica mkdir /usr/src/friendica/addon - sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon" + git clone -q -b ${addons_git} "https://github.com/${friendica_addons_repo}" /usr/src/friendica/addon echo "Download finished" diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 05d629f..f007407 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -45,10 +45,10 @@ clone_develop() { # Removing the whole directory first rm -fr /usr/src/friendica - sh -c "git clone -q -b ${friendica_git} https://github.com/${friendica_repo} /usr/src/friendica" + git clone -q -b ${friendica_git} "https://github.com/${friendica_repo}" /usr/src/friendica mkdir /usr/src/friendica/addon - sh -c "git clone -q -b ${addons_git} https://github.com/${friendica_addons_repo} /usr/src/friendica/addon" + git clone -q -b ${addons_git} "https://github.com/${friendica_addons_repo}" /usr/src/friendica/addon echo "Download finished"