Skip to content

Commit f1183ef

Browse files
committed
fixed consistency issue with bash_source ref
1 parent 601386f commit f1183ef

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

logging/bin/remove_fluentbit_azmonitor.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Copyright © 2020, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
44
# SPDX-License-Identifier: Apache-2.0
55

6-
cd "$(dirname "$0")/../.." || exit 1
6+
cd "$(dirname "$BASH_SOURCE")/../.." || {
7+
echo "Failed to change directory"
8+
exit 1
9+
}
710
source logging/bin/common.sh
811
this_script=$(basename "$0")
912

logging/bin/remove_fluentbit_opensearch.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Copyright © 2020, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
44
# SPDX-License-Identifier: Apache-2.0
55

6-
cd "$(dirname "$0")/../.." || exit 1
6+
cd "$(dirname "$BASH_SOURCE")/../.." || {
7+
echo "Failed to change directory"
8+
exit 1
9+
}
710
source logging/bin/common.sh
811
this_script=$(basename "$0")
912

0 commit comments

Comments
 (0)