File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Copyright (C) 2014 The Debsources developers <info@sources.debian.net>.
3+ # Copyright (C) 2014-2015 The Debsources developers <info@sources.debian.net>.
44# See the AUTHORS file at the top-level directory of this distribution and at
55# https://anonscm.debian.org/gitweb/?p=qa/debsources.git;a=blob;f=AUTHORS;hb=HEAD
66#
3131umask 0002
3232export LANG=C
3333
34+ # minimal interpolation support, for the few configuration values needed here
3435root_dir=$( grep " ^root_dir:" " $conffile " | awk ' { print $2 }' )
36+ log_dir=$( grep " ^log_dir:" " $conffile " | awk ' { print $2 }' )
37+
3538conf_get () {
3639 local key=" $1 "
3740 local value=$( grep " ^${key} :" " $conffile " | head -n 1 | awk ' { print $2 }' )
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # Copyright (C) 2013-2014 The Debsources developers <info@sources.debian.net>.
3+ # Copyright (C) 2013-2015 The Debsources developers <info@sources.debian.net>.
44# See the AUTHORS file at the top-level directory of this distribution and at
55# https://anonscm.debian.org/gitweb/?p=qa/debsources.git;a=blob;f=AUTHORS;hb=HEAD
66#
3636umask 0002
3737export LANG=C
3838
39- # minimal interpolation support, for the few configuration values needed
40- # by the update driver
39+ # minimal interpolation support, for the few configuration values needed here
4140root_dir=$( grep " ^root_dir:" " $conffile " | awk ' { print $2 }' )
4241log_dir=$( grep " ^log_dir:" " $conffile " | awk ' { print $2 }' )
4342
You can’t perform that action at this time.
0 commit comments