]> git.pld-linux.org Git - packages/icedtea8.git/blob - icedtea8-bashisms.patch
up to 3.12.0
[packages/icedtea8.git] / icedtea8-bashisms.patch
1 --- icedtea-3.12.0/acinclude.m4.orig    2019-05-20 22:43:01.617768201 +0200
2 +++ icedtea-3.12.0/acinclude.m4 2019-05-20 22:44:41.200667060 +0200
3 @@ -2797,7 +2797,7 @@
4       test "x${VENDOR_NAME}" = xyes ||
5       test "x${VENDOR_NAME}" = xno; then
6         AC_MSG_ERROR([--with-vendor-name must have a value])
7 -  elif [ ! [[ ${VENDOR_NAME} =~ ^[[:print:]]*$ ]] ]; then
8 +  elif [ ! echo ${VENDOR_NAME} | grep -q '^[[:print:]]*$' ]; then
9      AC_MSG_ERROR([--with-vendor-name value contains non-printing characters: ${VENDOR_NAME}])
10    fi
11    AC_SUBST(VENDOR_NAME)
12 @@ -2812,7 +2812,7 @@
13       test "x${VENDOR_URL}" = xyes ||
14       test "x${VENDOR_URL}" = xno; then
15         AC_MSG_ERROR([--with-vendor-url must have a value])
16 -  elif [ ! [[ ${VENDOR_URL} =~ ^[[:print:]]*$ ]] ]; then
17 +  elif [ ! echo ${VENDOR_URL} | grep -q '^[[:print:]]*$' ]; then
18      AC_MSG_ERROR([--with-vendor-url value contains non-printing characters: ${VENDOR_URL}])
19    fi
20    AC_SUBST(VENDOR_URL)
21 @@ -2827,7 +2827,7 @@
22       test "x${VENDOR_BUG_URL}" = xyes ||
23       test "x${VENDOR_BUG_URL}" = xno; then
24         AC_MSG_ERROR([--with-vendor-bug-url must have a value])
25 -  elif [ ! [[ ${VENDOR_BUG_URL} =~ ^[[:print:]]*$ ]] ]; then
26 +  elif [ ! echo ${VENDOR_BUG_URL} | grep -q '^[[:print:]]*$' ]; then
27      AC_MSG_ERROR([--with-vendor-bug-url value contains non-printing characters: ${VENDOR_BUG_URL}])
28    fi
29    AC_SUBST(VENDOR_BUG_URL)
30 @@ -2842,7 +2842,7 @@
31       test "x${VENDOR_VM_BUG_URL}" = xyes ||
32       test "x${VENDOR_VM_BUG_URL}" = xno; then
33         AC_MSG_ERROR([--with-vendor-vm-bug-url must have a value])
34 -  elif [ ! [[ ${VENDOR_VM_BUG_URL} =~ ^[[:print:]]*$ ]] ]; then
35 +  elif [ ! echo ${VENDOR_VM_BUG_URL} | grep -q '^[[:print:]]*$' ]; then
36      AC_MSG_ERROR([--with-vendor-vm-bug-url value contains non-printing characters: ${VENDOR_VM_BUG_URL}])
37    fi
38    AC_SUBST(VENDOR_VM_BUG_URL)
This page took 0.051207 seconds and 3 git commands to generate.