1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

Add rename_build.sh

This commit is contained in:
Martin Oberhuber 2009-09-26 21:32:10 +00:00
parent 10a246c329
commit 883eb2d9b8

View file

@ -34,7 +34,7 @@ if [ ! -f RSE-runtime-${srcVer}.zip ]; then
echo ERROR: RSE-runtime-${srcVer}.zip not found, incorrect source?
exit 1
fi
echo "Renameing Release: ${srcVer} --> ${tgtVer} into ../${tgtDir}"
echo "Renaming Release: ${srcVer} --> ${tgtVer} into ../${tgtDir}"
mkdir ../${tgtDir}
for x in `ls` ; do
@ -47,9 +47,9 @@ for x in `ls` ; do
cp ${x} ../${tgtDir}/${y}
;;
index.php|buildNotes.php)
cat ${x} | sed -e "s,/${srcVer},/${tgtDir}," \
-e "s,${srcVer},${tgtVer}," \
-e "s,Integration|Maintenance,${tgtBuild}," \
cat ${x} | sed -e "s,/${srcVer},/${tgtDir},g" \
-e "s,${srcVer},${tgtVer},g" \
-e "/Build/s,Integration|Maintenance,${tgtBuild},g" \
> ../${tgtDir}/${x}
;;
package.count)