Skip to content

Commit

Permalink
(#88) Reverrt expr
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Nov 13, 2019
1 parent 47aea5a commit 9e3afbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ function git_dirty() {
}

function git_num_untracked_files() {
[[ $(git status --porcelain 2>/dev/null | grep "^??" | wc -l | xargs) ]]
expr $(git status --porcelain 2>/dev/null | grep "^??" | wc -l | xargs)
}

function git_num_tracked_files() {
[[ $(git status --porcelain 2>/dev/null | grep "^M" | wc -l | xargs) ]]
expr $(git status --porcelain 2>/dev/null | grep "^M" | wc -l | xargs)
}

function main() {
Expand Down

0 comments on commit 9e3afbf

Please sign in to comment.