diff options
| author | David M. Syzdek <david@syzdek.net> | 2018-04-27 15:39:21 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2018-04-27 15:39:21 -0800 |
| commit | 29cd4625b8639c3077e95060fed9ced246f35d74 (patch) | |
| tree | 80e19de83d281c089b9b08920f7877c6f52c5671 | |
| parent | f921a5edd323b7219f3a0c2c91ea924d15b8123c (diff) | |
| download | iperd-29cd4625b8639c3077e95060fed9ced246f35d74.tar.gz iperd-29cd4625b8639c3077e95060fed9ced246f35d74.tar.bz2 iperd-29cd4625b8639c3077e95060fed9ced246f35d74.tar.xz iperd-29cd4625b8639c3077e95060fed9ced246f35d74.zip | |
iperd.profile: cleaning up variable initialization
| -rw-r--r-- | src/scripts/iperd.profile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/iperd.profile b/src/scripts/iperd.profile index 30040d3..d90bced 100644 --- a/src/scripts/iperd.profile +++ b/src/scripts/iperd.profile | |||
| @@ -34,8 +34,8 @@ | |||
| 34 | # | 34 | # |
| 35 | 35 | ||
| 36 | # set defaults | 36 | # set defaults |
| 37 | SCRIPTDIR="$(cd $(dirname "${0}"); pwd)" | 37 | BASEDIR="$(cd "$(dirname "${IPERD_PROFILE}")/../../"; pwd)" |
| 38 | BASEDIR="$(dirname "${0}")/../../" | 38 | SCRIPTDIR="${SCRIPTDIR:-${BASEDIR}/src/scripts}" |
| 39 | DISTRODIR="${DISTRODIR:-${BASEDIR}/src/distros}" | 39 | DISTRODIR="${DISTRODIR:-${BASEDIR}/src/distros}" |
| 40 | CONFIGDIR="${CONFIGDIR:-${BASEDIR}/var/config}" | 40 | CONFIGDIR="${CONFIGDIR:-${BASEDIR}/var/config}" |
| 41 | CONFIG="${CONFIG:-${CONFIGDIR}/iperd.conf}" | 41 | CONFIG="${CONFIG:-${CONFIGDIR}/iperd.conf}" |
