Skip to content

Commit da60d35

Browse files
localdenCopilot
andauthored
Update scripts/bash/common.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 84b61bc commit da60d35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/bash/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ get_repo_root() {
88
else
99
# Fall back to script location for non-git repos
1010
local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
11-
cd "$script_dir/../../.." && pwd
11+
(cd "$script_dir/../../.." && pwd)
1212
fi
1313
}
1414

0 commit comments

Comments
 (0)