mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 20:15:22 +02:00
Add rename_build.sh
This commit is contained in:
parent
10a246c329
commit
883eb2d9b8
1 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ if [ ! -f RSE-runtime-${srcVer}.zip ]; then
|
||||||
echo ERROR: RSE-runtime-${srcVer}.zip not found, incorrect source?
|
echo ERROR: RSE-runtime-${srcVer}.zip not found, incorrect source?
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Renameing Release: ${srcVer} --> ${tgtVer} into ../${tgtDir}"
|
echo "Renaming Release: ${srcVer} --> ${tgtVer} into ../${tgtDir}"
|
||||||
|
|
||||||
mkdir ../${tgtDir}
|
mkdir ../${tgtDir}
|
||||||
for x in `ls` ; do
|
for x in `ls` ; do
|
||||||
|
@ -47,9 +47,9 @@ for x in `ls` ; do
|
||||||
cp ${x} ../${tgtDir}/${y}
|
cp ${x} ../${tgtDir}/${y}
|
||||||
;;
|
;;
|
||||||
index.php|buildNotes.php)
|
index.php|buildNotes.php)
|
||||||
cat ${x} | sed -e "s,/${srcVer},/${tgtDir}," \
|
cat ${x} | sed -e "s,/${srcVer},/${tgtDir},g" \
|
||||||
-e "s,${srcVer},${tgtVer}," \
|
-e "s,${srcVer},${tgtVer},g" \
|
||||||
-e "s,Integration|Maintenance,${tgtBuild}," \
|
-e "/Build/s,Integration|Maintenance,${tgtBuild},g" \
|
||||||
> ../${tgtDir}/${x}
|
> ../${tgtDir}/${x}
|
||||||
;;
|
;;
|
||||||
package.count)
|
package.count)
|
||||||
|
|
Loading…
Add table
Reference in a new issue