Last active
August 29, 2015 14:27
-
-
Save Mithrandir0x/f4d8f81effa4c8f7c11d to your computer and use it in GitHub Desktop.
Fix Spoon shortcut for fuck's sake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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