Skip to content

Commit

Permalink
fix: bugreport.sh support for git worktrees (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhess authored Jun 22, 2023
2 parents 52ca2dd + e11e53d commit 42c210b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugreport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [ "$#" -ne 0 ]; then
exit 1
fi

if ! [ -d .git ] || ! [ -d primer-service ] || ! [ -d sqitch ]; then
if ! [ -e .git ] || ! [ -d primer-service ] || ! [ -d sqitch ]; then
echo "Please run this script from the root of the Primer repository." >&2
exit 2
fi
Expand Down

0 comments on commit 42c210b

Please sign in to comment.