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 => {