Skip to content

Commit

Permalink
msys2-repo-verify: fix path check
Browse files Browse the repository at this point in the history
I guess I was testing with a symlink
  • Loading branch information
lazka committed Jan 17, 2024
1 parent 06adc05 commit d84d700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msys2-repo-verify
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ INSTALLER_KEYS=(
REPO="/srv/msys2repo"

verify_repo () {
if [[ ! -f "$REPO" ]]; then
if [[ ! -e "$REPO" ]]; then
echo "$REPO is missing"
exit 1
fi
Expand Down

0 comments on commit d84d700

Please sign in to comment.