diff --git a/app_jd.sh b/app_jd.sh index 7cb6d5f..ef196ce 100644 --- a/app_jd.sh +++ b/app_jd.sh @@ -1,3 +1,3 @@ -#!/bin/bash - -cat conf/jdbouns.config >>.config \ No newline at end of file +#!/bin/bash +sub=$(dirname $0) +cat $sub/conf/jdbouns.config >>.config \ No newline at end of file diff --git a/cpconfig.sh b/cpconfig.sh index 51847f8..de2f15d 100644 --- a/cpconfig.sh +++ b/cpconfig.sh @@ -1,3 +1,5 @@ -#!/bin/bash - -cat conf/$1.config conf/base.config >.config \ No newline at end of file +#!/bin/bash + +sub=$(dirname $0) + +cat $sub/conf/$1.config $sub/conf/base.config >.config \ No newline at end of file