Skip to content

Commit

Permalink
Use different folders for the Stable and EAP JetBrains IDE used by th…
Browse files Browse the repository at this point in the history
…e Dev Server from backend-plugin
  • Loading branch information
felladrin authored and roboquat committed Oct 5, 2022
1 parent ec95237 commit 297db4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/ide/jetbrains/backend-plugin/launch-dev-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ do
esac
done

TEST_BACKEND_DIR=/workspace/ide-backend
TEST_BACKEND_DIR="/workspace/ide-backend-$JB_QUALIFIER"
if [ ! -d "$TEST_BACKEND_DIR" ]; then
mkdir -p $TEST_BACKEND_DIR
if [[ $JB_QUALIFIER == "stable" ]]; then
Expand All @@ -31,8 +31,8 @@ if [ ! -d "$TEST_BACKEND_DIR" ]; then
PRODUCT_TYPE="release,rc,eap"
fi
(cd $TEST_BACKEND_DIR &&
echo "Downloading the ${JB_QUALIFIER} version of IntelliJ IDEA..." &&
curl -sSLo backend.tar.gz "https://download.jetbrains.com/product?type=${PRODUCT_TYPE}&distribution=linux&code=IIU" &&
echo "Downloading the $JB_QUALIFIER version of IntelliJ IDEA..." &&
curl -sSLo backend.tar.gz "https://download.jetbrains.com/product?type=$PRODUCT_TYPE&distribution=linux&code=IIU" &&
tar -xf backend.tar.gz --strip-components=1 &&
rm backend.tar.gz)
fi
Expand Down

0 comments on commit 297db4f

Please sign in to comment.