summarylogtreecommitdiffstats
path: root/UMLet.sh.diff
blob: 9c881a94789a799c59bcc80940473f088af3752d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/umlet.sh	2018-04-06 09:59:28.000000000 +0200
+++ b/umlet.sh	2018-08-30 18:54:03.979319149 +0200
@@ -13,11 +13,8 @@
 #   UMLET_JAVA_OPTS       (optional) additional Java start options (-X..., -D...)
 #   UMLET_HOME            (optional) program directory of UMLet
 # ---------------------------------------------------------------------------------
-#
-# If you want to put umlet.sh in your home bin directory ($HOME/bin/) to start it from anywhere with
-#    $ umlet.sh myDiagram.uxf
-# you must export the UMLET_HOME environment variable with the full qualified path of the UMLet installation directory.
-# export UMLET_HOME=/path/to/umlet
+
+export UMLET_HOME=/usr/share/umlet
 
 _UMLET_HOME="$(cd $(dirname $0);pwd)"
 
@@ -28,7 +25,7 @@
 fi
 
 # UMLET_HOME wins against deprecated programDir
-if [ ! -x "${UMLET_HOME}" ] ; then
+if [ ! -z "${UMLET_HOME}" ] ; then
   _UMLET_HOME="${UMLET_HOME}"
 fi