Skip to content

Commit 87da2c8

Browse files
authored
Merge pull request #622 from reactioncommerce/fix-bin-setup
fix: made bin/setup always run from the desired path
2 parents 2d87a05 + 6fb8c1c commit 87da2c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/setup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

3-
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4-
env_file=${__dir}/../.env
5-
env_example_file=${__dir}/../.env.example
3+
cd "$(dirname "${BASH_SOURCE[0]}")/.."
4+
env_file=./.env
5+
env_example_file=./.env.example
66

77
function main {
88
set -e

0 commit comments

Comments
 (0)