Skip to content

Commit 3216a6f

Browse files
committed
Merge branch 'master' of github.com:pta2002/rust
2 parents fe2dc40 + ab7bea4 commit 3216a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ci/init_repo.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ci_dir=$(cd "$(dirname "$0")" && pwd)
1414
REPO_DIR="$1"
1515
CACHE_DIR="$2"
1616

17-
if ! { [ -d "$REPO_DIR" ] && [ ! -d "$REPO_DIR/.git" ]; }; then
17+
if ! { [ -d "$REPO_DIR" ] && [ -d "$REPO_DIR/.git" ]; }; then
1818
echo "Error: $REPO_DIR does not exist or is not a git repo"
1919
exit 1
2020
fi

0 commit comments

Comments
 (0)