summarylogtreecommitdiffstats
path: root/UMLet.sh.diff
diff options
context:
space:
mode:
Diffstat (limited to 'UMLet.sh.diff')
-rw-r--r--UMLet.sh.diff26
1 files changed, 11 insertions, 15 deletions
diff --git a/UMLet.sh.diff b/UMLet.sh.diff
index 7cd2d3c31ea9..f6f00116e049 100644
--- a/UMLet.sh.diff
+++ b/UMLet.sh.diff
@@ -1,16 +1,12 @@
-diff -wbBur Umlet/umlet.sh Umlet.my/umlet.sh
---- Umlet/umlet.sh 2011-02-18 18:27:14.000000000 +0000
-+++ Umlet.my/umlet.sh 2011-03-03 15:20:48.000000000 +0000
-@@ -2,11 +2,7 @@
+--- a/umlet.sh 2022-04-30 10:47:45.706328639 +0200
++++ a/umlet.sh 2022-04-30 10:48:48.419563220 +0200
+@@ -17,7 +17,8 @@
+ # 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
- # Shell script for running umlet from the command prompt in linux
-
--# 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 specify the programDir directly instead
--#programDir=/path/to/umlet
--programDir=$(cd $(dirname $0);pwd)
-+programDir=/usr/share/umlet
-
- if [ $# -gt 0 ]
- then java -jar ${programDir}/umlet.jar -filename="$1"
+ _UMLET_HOME="$(cd $(dirname $0);pwd)"
+