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 38f9b25 commit 6e7343bCopy full SHA for 6e7343b
scripts/run-util.sh
@@ -2,21 +2,23 @@ print_env_info() {
2
conda info
3
conda list -n triton
4
}
5
-
+set -vx
6
while [ -v 1 ]; do
7
case "$1" in
8
--python-version)
9
python_version=$2
10
shift 2
11
;;
12
- install-env)
13
- install_env
14
- print_env_info
15
- exit 0
16
- ;;
17
*)
18
script_name=$1
19
shift
20
21
esac
22
done
+
+if [ $(head -1 "$script_name") = install-env ]
+then
+ install_env
+ print_env_info
23
+ exit 0
24
+fi
0 commit comments