1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 04:25:21 +02:00

Add rename_build.sh

This commit is contained in:
Martin Oberhuber 2009-09-26 21:10:05 +00:00
parent 34271862be
commit c96e8c9bd8

View file

@ -39,11 +39,11 @@ for x in `ls` ; do
*-signed.zip) *-signed.zip)
;; ;;
*.zip|*.tar) *.zip|*.tar)
y=`echo $x | sed -e "s,${src},${tgtVer},"` y=`echo $x | sed -e "s,${srcVer},${tgtVer},"`
cp ${x} ../${tgtDir}/${y} cp ${x} ../${tgtDir}/${y}
;; ;;
index.php|buildNotes.php) index.php|buildNotes.php)
cat ${x} | sed -e "s,/${src},/${tgtDir}," -e "s,${src},${tgtVer}," > ../${tgtDir}/${x} cat ${x} | sed -e "s,/${srcVer},/${tgtDir}," -e "s,${srcVer},${tgtVer}," > ../${tgtDir}/${x}
;; ;;
*) *)
cp ${x} ../${tgtDir}/${x} cp ${x} ../${tgtDir}/${x}