We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b37c15c commit 44a4421Copy full SHA for 44a4421
src/sh/count_all_packs.sh
@@ -1,6 +1,5 @@
1
#!/bin/bash
2
3
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))
5
6
-echo $value
+echo $((value + 0))
0 commit comments