From d35fca7bafe9e94e31429975e78211ba543343f1 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 31 Jul 2014 06:31:33 +0000 Subject: [PATCH] update the update script --- debian/prepare-new-release.sh | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/debian/prepare-new-release.sh b/debian/prepare-new-release.sh index 0dada9ea..ac968ed1 100644 --- a/debian/prepare-new-release.sh +++ b/debian/prepare-new-release.sh @@ -1,15 +1,10 @@ #!/bin/sh -ORIG_VERSION=3.4 -TARGET_VERSION=3.5 -ORIG_VERSION_2=3_4 -TARGET_VERSION_2=3_5 +ORIG_VERSION=3.5 +TARGET_VERSION=3.6 +ORIG_VERSION_2=3_5 +TARGET_VERSION_2=3_6 -LIST=`ls debian/*$ORIG_VERSION*` -for F in $LIST; do - TARGET=`echo $F|sed -e "s|$ORIG_VERSION|$TARGET_VERSION|g"` - svn mv $F $TARGET -done -LIST=`ls debian/*$TARGET_VERSION* debian/control debian/*.install debian/*.links debian/orig-tar.sh debian/rules` +LIST=`ls debian/control debian/orig-tar.sh debian/rules` for F in $LIST; do sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F sed -i -e "s|$ORIG_VERSION|$TARGET_VERSION|g" $F