diff options
Diffstat (limited to 'office/ganttproject/ganttproject')
-rw-r--r-- | office/ganttproject/ganttproject | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/office/ganttproject/ganttproject b/office/ganttproject/ganttproject deleted file mode 100644 index dee15ada8e..0000000000 --- a/office/ganttproject/ganttproject +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# This script permits calling ganttproject from the /bin directly -# rather than from /opt/ganttproject. -# It supports white spaces in file names. -# Chris Abela <chris.abela@maltats.com> - -# Usage: if /bin is in your $PATH, then: -# $ ganttproject "World Domination Project.gan" -# or simply: $ ganttproject - -[ $# -gt 1 ] && echo "Sorry! - Only one argument is allowed" && exit -if [ $# -eq 1 ] -then - DIRNAME=`dirname "$1"` - case "$DIRNAME" in - .) DIRNAME="$PWD" ;; - /) unset DIRNAME ;; - esac - BASENAME=`basename "$1"` - cd /opt/ganttproject - ./ganttproject.sh "$DIRNAME/$BASENAME" -else - cd /opt/ganttproject - ./ganttproject.sh -fi |