Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'releng/toolkit/server/repackageRcp.sh')
-rw-r--r--releng/toolkit/server/repackageRcp.sh17
1 files changed, 6 insertions, 11 deletions
diff --git a/releng/toolkit/server/repackageRcp.sh b/releng/toolkit/server/repackageRcp.sh
index d6e74d6d737..06301e34448 100644
--- a/releng/toolkit/server/repackageRcp.sh
+++ b/releng/toolkit/server/repackageRcp.sh
@@ -12,12 +12,12 @@
#--------------------------------------------------------------------------------
rcpProductDir=${WORKSPACE}/releng/rcp/org.eclipse.papyrus.rcp.product/target/products
-rcpProductTempDir=${WORKSPACE}/releng/rcp/products
+rcpProductFinalDir=${WORKSPACE}/products
TMP=${rcpProductDir}/tmp
papyrusMacApp=Papyrus.app
papyrusWinApp=papyrus.exe
-mkdir $rcpProductTempDir
+mkdir $rcpProductFinalDir
#Proceed with Windows
cd $rcpProductDir
@@ -44,7 +44,7 @@ for f in *win32*; do
cd ..
- zip -r -9 -qq --symlinks $rcpProductTempDir/papyrus-win-$bitness.zip Papyrus
+ zip -r -9 -qq --symlinks $rcpProductFinalDir/papyrus-win-$bitness.zip Papyrus
cd $rcpProductDir
rm -rf $TMP
@@ -61,7 +61,7 @@ for f in *linux*; do
bitness=32
fi
- mv $rcpProductDir/$f $rcpProductTempDir/papyrus-linux-$bitness.tar.gz
+ mv $rcpProductDir/$f $rcpProductFinalDir/papyrus-linux-$bitness.tar.gz
done
#Proceed with MacOSX
@@ -89,16 +89,11 @@ for f in *macosx*; do
rm -f unsigned.zip signed.zip
chmod a+x "$papyrusMacApp/Contents/MacOS/papyrus"
- tar -czf $rcpProductTempDir/papyrus-macosx-$bitness.tar.gz $papyrusMacApp
+ tar -czf $rcpProductFinalDir/papyrus-macosx-$bitness.tar.gz $papyrusMacApp
cd $rcpProductDir
rm -rf $TMP
done
cd $rcpProductDir
-rm -f *linux* *macosx* *win32*
-
-mv $rcpProductTempDir/* .
-
-cd $rcpProductDir
-rm -rf $rcpProductTempDir \ No newline at end of file
+rm -f *linux* *macosx* *win32* \ No newline at end of file

Back to the top