Changeset 4507


Ignore:
Timestamp:
10/23/03 01:00:43 (18 years ago)
Author:
piso
Message:

configure.in => configure.ac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/scripts/update-version

    r1937 r4507  
    11#!/bin/sh
    22
    3 # $Id: update-version,v 1.1 2003-05-24 17:00:18 piso Exp $
     3# $Id: update-version,v 1.2 2003-10-23 01:00:43 piso Exp $
    44
    55# Usage: update-version old-version new-version
     
    2525grep $1 build.xml > /dev/null ||
    2626    { echo "Error: current version of build.xml is not $1"; exit 1; }
    27 grep $1 configure.in > /dev/null ||
    28     { echo "Error: current version of configure.in is not $1"; exit 1; }
     27grep $1 configure.ac > /dev/null ||
     28    { echo "Error: current version of configure.ac is not $1"; exit 1; }
    2929grep $1 configure > /dev/null ||
    3030    { echo "Error: current version of configure is not $1"; exit 1; }
     
    3737{ echo "Error: unable to commit build.xml"; exit 1; }
    3838
    39 p4 edit configure.in
     39p4 edit configure.ac
    4040p4 edit configure
    41 sed -e "s/$1/$2/g" configure.in > configure.in.new
    42 mv configure.in configure.in~
    43 mv configure.in.new configure.in
    44 cvs commit -m "$2" configure.in ||
    45 { echo "Error: unable to commit configure.in"; exit 1; }
     41sed -e "s/$1/$2/g" configure.ac > configure.ac.new
     42mv configure.ac configure.ac~
     43mv configure.ac.new configure.ac
     44cvs commit -m "$2" configure.ac ||
     45{ echo "Error: unable to commit configure.ac"; exit 1; }
    4646mv configure configure~
    4747autoconf
Note: See TracChangeset for help on using the changeset viewer.