forked from pool/automake
Accepting request 572450 from home:berny:branches:devel:tools:building
- Avoid bashisms in test-driver: * 0001-correct-parameter-parsing-in-test-driver-script.patch Use test's = operator instead of ==; use '[' instead of '[['. This avoids 'make check' failures of distribution tarballs (built on openSUSE) on platforms not supporting bashisms, e.g. NetBSD-7.1. OBS-URL: https://build.opensuse.org/request/show/572450 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=61
This commit is contained in:
parent
be366512e3
commit
134d746c06
@ -23,7 +23,7 @@ index 8e575b0..69b47f8 100755
|
|||||||
+while test $# -gt 1; do
|
+while test $# -gt 1; do
|
||||||
+ arg=${1%=*}
|
+ arg=${1%=*}
|
||||||
+ val=${1#*=}
|
+ val=${1#*=}
|
||||||
+ if [ $arg == $val ]; then
|
+ if [ $arg = $val ]; then
|
||||||
+ val=$2
|
+ val=$2
|
||||||
+ shift
|
+ shift
|
||||||
+ fi
|
+ fi
|
||||||
@ -48,7 +48,7 @@ index 8e575b0..69b47f8 100755
|
|||||||
- *) break;;
|
- *) break;;
|
||||||
esac
|
esac
|
||||||
- shift
|
- shift
|
||||||
+ [[ $arg != $val ]] && shift
|
+ [ $arg != $val ] && shift
|
||||||
done
|
done
|
||||||
|
|
||||||
missing_opts=
|
missing_opts=
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 4 23:06:25 UTC 2018 - mail@bernhard-voelker.de
|
||||||
|
|
||||||
|
- Avoid bashisms in test-driver:
|
||||||
|
* 0001-correct-parameter-parsing-in-test-driver-script.patch
|
||||||
|
Use test's = operator instead of ==; use '[' instead of '[['.
|
||||||
|
This avoids 'make check' failures of distribution tarballs (built on
|
||||||
|
openSUSE) on platforms not supporting bashisms, e.g. NetBSD-7.1.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 20 18:16:24 UTC 2017 - jayvdb@gmail.com
|
Fri Oct 20 18:16:24 UTC 2017 - jayvdb@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package automake-testsuite
|
# spec file for package automake-testsuite
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 4 23:06:25 UTC 2018 - mail@bernhard-voelker.de
|
||||||
|
|
||||||
|
- Avoid bashisms in test-driver:
|
||||||
|
* 0001-correct-parameter-parsing-in-test-driver-script.patch
|
||||||
|
Use test's = operator instead of ==; use '[' instead of '[['.
|
||||||
|
This avoids 'make check' failures of distribution tarballs (built on
|
||||||
|
openSUSE) on platforms not supporting bashisms, e.g. NetBSD-7.1.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 20 18:16:24 UTC 2017 - jayvdb@gmail.com
|
Fri Oct 20 18:16:24 UTC 2017 - jayvdb@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package automake
|
# spec file for package automake
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
Loading…
Reference in New Issue
Block a user