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:
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?
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue