mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
ctdb-scripts: Fix calculation of CTDB_BASE
This is a regression introduced in f227c26178c2eaf3fae49f32a90ec905f85005f4. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12407 Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Thu Nov 3 10:10:31 CET 2016 on sn-devel-144
This commit is contained in:
parent
e714dc03e0
commit
9c6f0dc69b
@ -5,7 +5,7 @@
|
||||
#
|
||||
|
||||
[ -n "$CTDB_BASE" ] || \
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; dirname "$PWD")
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; echo "$PWD")
|
||||
|
||||
. "${CTDB_BASE}/functions"
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
# for other operating systems.
|
||||
|
||||
[ -n "$CTDB_BASE" ] || \
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; dirname "$PWD")
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; echo "$PWD")
|
||||
|
||||
. "${CTDB_BASE}/functions"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
# rather than mutex locks.
|
||||
|
||||
[ -n "$CTDB_BASE" ] || \
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; dirname "$PWD")
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; echo "$PWD")
|
||||
|
||||
. "${CTDB_BASE}/functions"
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
# STATD_HOSTNAME="myhostname -H /etc/ctdb/statd-callout"
|
||||
|
||||
[ -n "$CTDB_BASE" ] || \
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; dirname "$PWD")
|
||||
CTDB_BASE=$(d=$(dirname "$0") ; cd -P "$d" ; echo "$PWD")
|
||||
|
||||
. "${CTDB_BASE}/functions"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user