Permalink
Browse files

Safety test in plugin-signing. Got bitten one time too many.

  • Loading branch information...
1 parent 0364256 commit 0dd75427dc5f75d4641cf2de68477d37f6a43156 @dragos dragos committed Sep 13, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 org.scala-ide.sdt.update-site/plugin-signing.sh
@@ -9,6 +9,12 @@ BUNDLE_DIR=$TARGET_DIR/site
EXPECTED_ARGS=4
E_BADARGS=65
+if [[ ! -f ${ECLIPSE} ]]; then
+ echo "Please update ECLIPSE (${ECLIPSE}) to point to an existing Eclipse installation."
+ echo "Aborting.."
+ exit 1
+fi
+
if [ $# -ne $EXPECTED_ARGS ]
then
echo "Usage: ./plugin-signing <path to keystore> <alias> <store password> <key password>"

0 comments on commit 0dd7542

Please sign in to comment.