Skip to content

Commit

Permalink
Merge pull request #66 from ToolmanP/main
Browse files Browse the repository at this point in the history
fix: fix double brackets in do_override_dir.sh
  • Loading branch information
ToolmanP authored Dec 3, 2024
2 parents 721a6c3 + 23abe5a commit e710e89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Lab3/user/chcore-libc/libchcore/cmake/do_override_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ "$#" -ne 2 ]]; then
usage
fi

if [[[[ $1 != /* ]]]] || [[[[ $2 != /* ]]]]; then
if [[ $1 != /* ]] || [[ $2 != /* ]]; then
usage
fi

Expand Down
2 changes: 1 addition & 1 deletion Lab4/user/chcore-libc/libchcore/cmake/do_override_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ "$#" -ne 2 ]]; then
usage
fi

if [[[[ $1 != /* ]]]] || [[[[ $2 != /* ]]]]; then
if [[ $1 != /* ]] || [[ $2 != /* ]]; then
usage
fi

Expand Down
2 changes: 1 addition & 1 deletion Lab5/user/chcore-libc/libchcore/cmake/do_override_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ "$#" -ne 2 ]]; then
usage
fi

if [[[[ $1 != /* ]]]] || [[[[ $2 != /* ]]]]; then
if [[ $1 != /* ]] || [[ $2 != /* ]]; then
usage
fi

Expand Down

0 comments on commit e710e89

Please sign in to comment.