mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 07:18:17 +00:00
update the update script
This commit is contained in:
parent
70d16caf36
commit
d35fca7baf
15
debian/prepare-new-release.sh
vendored
15
debian/prepare-new-release.sh
vendored
@ -1,15 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ORIG_VERSION=3.4
|
ORIG_VERSION=3.5
|
||||||
TARGET_VERSION=3.5
|
TARGET_VERSION=3.6
|
||||||
ORIG_VERSION_2=3_4
|
ORIG_VERSION_2=3_5
|
||||||
TARGET_VERSION_2=3_5
|
TARGET_VERSION_2=3_6
|
||||||
|
|
||||||
LIST=`ls debian/*$ORIG_VERSION*`
|
LIST=`ls debian/control debian/orig-tar.sh debian/rules`
|
||||||
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`
|
|
||||||
for F in $LIST; do
|
for F in $LIST; do
|
||||||
sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F
|
sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F
|
||||||
sed -i -e "s|$ORIG_VERSION|$TARGET_VERSION|g" $F
|
sed -i -e "s|$ORIG_VERSION|$TARGET_VERSION|g" $F
|
||||||
|
Loading…
Reference in New Issue
Block a user