8000
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 6a0838c commit 02ce5b2Copy full SHA for 02ce5b2
.binder/postBuild
100644
100755
@@ -6,9 +6,9 @@ set -e
6
# inside a git checkout of the scikit-learn/scikit-learn repo. This script is
7
# generating notebooks from the scikit-learn python examples.
8
9
-if [[ ! -f /.dockerenv ]]; then
10
- echo "This script was written for repo2docker and is supposed to run inside a docker container."
11
- echo "Exiting because this script can delete data if run outside of a docker container."
+if [[ -z "${REPO_DIR}" ]]; then
+ echo "This script was written for repo2docker and the REPO_DIR environment variable is supposed to be set."
+ echo "Exiting because this script can delete data if run outside of a repo2docker context."
12
exit 1
13
fi
14
0 commit comments