aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/shell/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shell/lib.sh')
-rwxr-xr-xexamples/shell/lib.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/shell/lib.sh b/examples/shell/lib.sh
index 979a2c6b67..495ef3d422 100755
--- a/examples/shell/lib.sh
+++ b/examples/shell/lib.sh
@@ -18,9 +18,8 @@ set -eu
# This allows the script to be both a binary and a library script. If our binary has defined
# RUNFILES then we use it, otherwise we look for our own runfiles.
-RUNFILES=${RUNFILES:-$0.runfiles}
+RUNFILES=${RUNFILES:-$0.runfiles/io_bazel}
function showfile {
cat "${RUNFILES}/examples/shell/data/file.txt"
}
-