Move upstream URL from the description to the new Homepage field.
[debian/jabref.git] / jabref
diff --git a/jabref b/jabref
index a782159f0d10c48dfb25f436d070f146e048a96b..f71d8aeac78738be3e9f5aa61cee819680b34452 100644 (file)
--- a/jabref
+++ b/jabref
@@ -5,11 +5,11 @@
 
 if [ -z $JAVA_HOME ]
 then
-t=/usr/lib/jvm/java-1.5.0-sun/ && test -d $t && JAVA_HOME=$t
-t=/usr/lib/jvm/java-6-sun/ && test -d $t && JAVA_HOME=$t
+t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
+t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
 JAVA=${JAVA_HOME}/jre/bin/java
 fi
 
 export JAVA=${JAVA:=java}
 
-$JAVA -jar /usr/share/java/jabref.jar "$@"
+exec $JAVA -jar /usr/share/java/jabref.jar "$@"