Skip to content

Commit 3977939

Browse files
Fix source command in scripts
In busybox-based images, source does not look in the current directory so an absolute path is needed.
1 parent f86d279 commit 3977939

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

script/install-cni.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -u -e
1010
#
1111
#SPDX-License-Identifier: Apache-2.0
1212

13-
source lib.sh
13+
source /lib.sh
1414

1515
# Setup our logging routines
1616

script/token-watcher.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -u -e
44

5-
source lib.sh
5+
source /lib.sh
66

77
echo "Sleep and Watching for service account token and CA file changes..."
88
# enter sleep/watch loop

0 commit comments

Comments
 (0)