Skip to content

Commit d0129f4

Browse files
committed
Fix typo.
1 parent 5fec561 commit d0129f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/makesrcdist

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ if (git status | grep -v makesrcdist | grep -q modified:); then
2424
fi
2525

2626
# Get the source version...
27-
if test $# = 1; then
27+
if test $# = 0; then
2828
version="$(date '+%Y.%m')"
29-
elif test $# = 2; then
29+
elif test $# = 1; then
3030
version="$1"
3131
else
3232
echo "Usage: ./makesrcdist version"

0 commit comments

Comments
 (0)