Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
fix for basename: extra operand warning
Browse files Browse the repository at this point in the history
  • Loading branch information
crflynn authored and michaeldfallen committed Jan 8, 2017
1 parent fe17db8 commit 2ac25e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radar-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ stashed_status() {
}

is_cwd_a_dot_git_directory() {
[[ "$(basename $PWD)" == ".git" ]]; return $?
[[ "$(basename "$PWD")" == ".git" ]]; return $?
}

stash_status() {
Expand Down

0 comments on commit 2ac25e3

Please sign in to comment.