Skip to content

Commit

Permalink
fix: fix double brackets in do_override_dir.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Yiyang Wu <[email protected]>
  • Loading branch information
ToolmanP committed Dec 3, 2024
1 parent 721a6c3 commit 23abe5a
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 23abe5a

Please sign in to comment.