diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-09 23:29:25 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-09 23:29:25 -0200 |
commit | 1ec9a1645930201d3fc131fa4385e4925232bbba (patch) | |
tree | 0b0ff89c46569916103d4fe12a730886ca7bdb8a /templater | |
parent | c6aacdbf4e73d6367f7f455f2929e9a688766fe5 (diff) | |
download | templater-1ec9a1645930201d3fc131fa4385e4925232bbba.tar.gz templater-1ec9a1645930201d3fc131fa4385e4925232bbba.tar.bz2 |
Fix program name
Diffstat (limited to 'templater')
-rwxr-xr-x | templater | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -18,6 +18,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # Parameters +NAME="templater" PROGRAM="$0" BASENAME="`basename $0`" PROJECT="$1" @@ -26,12 +27,12 @@ MODULES="$*" CWD="`pwd`" # Set shared files location -if [ -e "`dirname $(readlink -f $0)`/share/$BASENAME" ]; then +if [ -e "`dirname $(readlink -f $0)`/share/$NAME" ]; then # Development or local installation layout - SHARE="`dirname $(readlink -f $0)`/share/$BASENAME" + SHARE="`dirname $(readlink -f $0)`/share/$NAME" else # System installation layout - SHARE="`dirname $(readlink -f $0)`/../share/$BASENAME" + SHARE="`dirname $(readlink -f $0)`/../share/$NAME" fi # Include basic functions |