diff options
author | Markus Knauer | 2008-06-18 09:40:28 +0000 |
---|---|---|
committer | Markus Knauer | 2008-06-18 09:40:28 +0000 |
commit | e8f33caffd16ede78c064665c68c99129396c1d0 (patch) | |
tree | dbb7730704e8deff2830eb03cbd70719d69864a7 /releng/org.eclipse.epp.config/tools | |
parent | f7dc1de3c3fcc8335e0391bc294b2623f290b25c (diff) | |
download | org.eclipse.epp.packages-e8f33caffd16ede78c064665c68c99129396c1d0.tar.gz org.eclipse.epp.packages-e8f33caffd16ede78c064665c68c99129396c1d0.tar.xz org.eclipse.epp.packages-e8f33caffd16ede78c064665c68c99129396c1d0.zip |
incubationLinkFix
Diffstat (limited to 'releng/org.eclipse.epp.config/tools')
-rw-r--r-- | releng/org.eclipse.epp.config/tools/incubation.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/releng/org.eclipse.epp.config/tools/incubation.sh b/releng/org.eclipse.epp.config/tools/incubation.sh new file mode 100644 index 00000000..8c13c311 --- /dev/null +++ b/releng/org.eclipse.epp.config/tools/incubation.sh @@ -0,0 +1,19 @@ + + +function incubationLinkFix { + if [ -z $3 ] + then + echo "No (not enough) parameters passed to function incubationLinkFix()." + return 0 + fi + FILEPATH=$1 + PACKAGENAME=$2 + VERSION=$3 + + echo "Fixing ${FILEPATH} for package ${PACKAGENAME} (${VERSION})" + + sed 's/${VERSION}_${PACKAGENAME}/${VERSION}_${PACKAGENAME}-incubation/g' \ + ${FILEPATH} >${FILEPATH}.temp + mv ${FILEPATH}.temp ${FILEPATH} + +} |