File tree 3 files changed +14
-3
lines changed
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,16 @@ Change Log
2
2
==========
3
3
Versioned according to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
5
+ ## Unreleased
6
+
7
+ ## 0.0.3
8
+
9
+ Changed:
10
+
11
+ - Use bash from env instead of fixed shebang
12
+ - Ensure minimum bash version
13
+
14
+
5
15
## 0.0.2
6
16
7
17
First release
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
# shellcheck disable=SC2086
3
3
4
4
set -eu
5
5
set -o pipefail
6
6
7
- which ocrd > /dev/null 2> /dev/null || { echo " ocrd not in \$ PATH. Panicking" ; exit 1; }
7
+ which ocrd > /dev/null 2> /dev/null || { echo >&2 " ocrd not in \$ PATH. Panicking" ; exit 1; }
8
+ (( BASH_VERSINFO< 4 || BASH_VERSINFO== 4 && BASH_VERSINFO[1 ]< 4 )) && echo >&2 " bash $BASH_VERSION is too old. Please install bash 4.4 or newer." && exit 1
8
9
9
10
SHAREDIR=" $( cd " $( dirname " $0 " ) " > /dev/null && pwd) "
10
11
Original file line number Diff line number Diff line change 1
1
{
2
2
"git_url" : " https://github.com/OCR-D/ocrd_im6convert" ,
3
- "version" : " 0.0.2 " ,
3
+ "version" : " 0.0.3 " ,
4
4
"tools" : {
5
5
6
6
"ocrd-im6convert" : {
You can’t perform that action at this time.
0 commit comments