Ticket #63736: build-aux_git-version-gen_Tiger.patch

File build-aux_git-version-gen_Tiger.patch, 537 bytes (added by ballapete (Peter "Pete" Dyballa), 2 years ago)

Patch to make expr in GNU bash, version 2.05b.0(1)-release of Tiger, Mac OS X 10.4.11, work here

  • build-aux/git-version-gen

    old new  
    11#!/bin/sh
    22# Print a version string.
    3 scriptversion=2022-01-27.18; # UTC
     3scriptversion=2022-12-08.11; # UTC
    44
    55# Copyright (C) 2007-2022 Free Software Foundation, Inc.
    66#
     
    7373
    7474me=$0
    7575
    76 year=`expr "$scriptversion" : '\([^-]*\)'`
     76year=`expr "$scriptversion" : '\([^--]*\)'`
    7777version="git-version-gen $scriptversion
    7878
    7979Copyright (C) ${year} Free Software Foundation, Inc.