We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2d54d commit 5531204Copy full SHA for 5531204
scripts/test.sh
@@ -1,6 +1,9 @@
1
#!/usr/bin/env bash
2
3
-. "./scripts/devenv.sh" || { echo >&2 "Failed to source devenv.sh. Aborting."; exit 1; }
+# Check if already in devenv, if not source it
4
+if [ -z "${LIGHT_PROTOCOL_DEVENV:-}" ]; then
5
+ . "./scripts/devenv.sh" || { echo >&2 "Failed to source devenv.sh. Aborting."; exit 1; }
6
+fi
7
8
set -eux
9
0 commit comments