bin/shortlog_mesa.sh: remove the final bashism
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 22 Feb 2017 19:58:54 +0000 (19:58 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 10 Mar 2017 14:12:48 +0000 (14:12 +0000)
Remove the typeset built-in and toggle to /bin/sh

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
bin/shortlog_mesa.sh

index 2ba0815de7462947adbd8cd5a5e64d5466ac569e..c9a42972368c7a351d6e1e57499d56878de4f375 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 # This script is used to generate the list of changes that
 # appears in the release notes files, with HTML formatting.
@@ -10,7 +10,7 @@
 # $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 | tee changes
 
 
-typeset -i in_log=0
+in_log=0
 
 git shortlog $* | while read l
 do