X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=src%2Fninjahelper.in;h=451f38978e91b56a959d89491e1bcd199b9c199a;hp=099a5808b9086ea426f3dcf35a65094d833c778d;hb=13893e6d255a0b3ff1ac2ffb74cff0652d2b61f4;hpb=5d63983704cf68acc3f6d0fe9b2e9c836078ec2c diff --git a/src/ninjahelper.in b/src/ninjahelper.in index 099a580..451f389 100755 --- a/src/ninjahelper.in +++ b/src/ninjahelper.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!@BASH@ #################################################### ## Functions @@ -187,6 +187,7 @@ if [ ! -r "$conffile" ]; then echo "Configuration file $conffile not found." exit 1 fi + # find $scriptdir scriptdir=`grep scriptdirectory $conffile | awk '{print $3}'` if [ -z "$scriptdir" ]; then @@ -202,6 +203,7 @@ else exit 1 fi fi + # find $libdir libdir=`grep libdirectory $conffile | awk '{print $3}'` if [ -z "$libdir" ]; then