Skip to content

Commit 44a4421

Browse files
yinzaraantongolub
authored andcommittedMay 28, 2019
fix(count_all_packs): add missed $ and remove redundant reassignment
1 parent b37c15c commit 44a4421

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/sh/count_all_packs.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
22

33
value=$(git diff HEAD $(git rev-list --max-parents=0 HEAD) --name-only | grep packages | sed -E 's/^[^/]+\/([^/]+)\/.*$/\1/' | sort | uniq | wc -l)
4-
((value=value + 0))
54

6-
echo $value
5+
echo $((value + 0))

0 commit comments

Comments
 (0)
Please sign in to comment.