diff --git a/init.sh b/init.sh index 9250244..dd722fe 100755 --- a/init.sh +++ b/init.sh @@ -1,8 +1,9 @@ BASE_PATH=$(cd "$(dirname "$0")"; pwd -P) +cd $BASE_PATH + # Ignore config file from worktree git update-index --skip-worktree wp-config.php # Update all submodules -cd $BASE_PATH git submodule update --init --recursive