From d69e5f0850cd9e069a98fd602d87bdbf51d0a5bc Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sun, 23 Feb 2020 10:16:26 +0100 Subject: [PATCH] WIP --- entrypoint.sh | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 87b28bc..766759b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,7 +28,7 @@ _switch_to_repository() { } _git_is_dirty() { - [[ -n "$(git status -s)" ]] + [ -n "$(git status -s)" ] } # Set up git user configuration diff --git a/index.js b/index.js index 825e1a7..395d2ec 100644 --- a/index.js +++ b/index.js @@ -16,7 +16,7 @@ const exec = (cmd, args=[]) => new Promise((resolve, reject) => { }); const main = async () => { - await exec('sh', [path.join(__dirname, './entrypoint.sh')]); + await exec('bash', [path.join(__dirname, './entrypoint.sh')]); }; main().catch(err => {