Skip to content

Instantly share code, notes, and snippets.

@Mithrandir0x
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mithrandir0x/f4d8f81effa4c8f7c11d to your computer and use it in GitHub Desktop.
Save Mithrandir0x/f4d8f81effa4c8f7c11d to your computer and use it in GitHub Desktop.
Fix Spoon shortcut for fuck's sake
#!/bin/sh
# -> Set your JDK (not really required, but I'm paranoid) <-
export JAVA_HOME=/etc/jdk1.8.0_45_x64
# -> Set this variable's value to your spoon's path <-
SPOON_DIR=/home/oriollopez/Aplicaciones/spoon-data-integration
#DIR=`pwd`
#echo "Current directory [$DIR]"
echo "Going to folder"
cd $DIR
echo "Setting up pentaho-env"
./set-pentaho-env.sh
echo "JAVA_HOME [$JAVA_HOME]"
echo "Executing spoon"
./spoon.sh
# If for any reason it doesn't work, change the desktop's
# Terminal attribute to "true" and uncomment the next line.
# sleep 10000
[Desktop Entry]
Type=Application
Icon=/home/oriollopez/Aplicaciones/spoon-data-integration/spoon.ico
Name=spoon
Version=5.1
Exec=sh -c /home/oriollopez/Aplicaciones/spoon.sh
Terminal=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment