summaryrefslogtreecommitdiff
path: root/sys-fs/gfs2-utils/files/bashism.patch
blob: 67ed25224babea202b5b1632fea9305c867e7e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix bashism in test script
Author: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Last-Update: 2018-05-30
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/rgrifieldscheck.sh
+++ b/tests/rgrifieldscheck.sh
@@ -16,5 +16,5 @@
 		exit 1
 	fi
 
-	test $field = ri_bitbytes && let i++
+	test $field = ri_bitbytes && i=$((i+1))
 done