chore(scripts): exit if error occurs in any command

This commit is contained in:
2026-08-21 17:08:15 +02:00
parent 8f07a76fd6
commit e4b414330e
11 changed files with 20 additions and 0 deletions
+2
View File
@@ -1,5 +1,7 @@
#!/bin/sh
set -e
name=$([[ $1 ]] && echo $1 || echo "pytorch")
mount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")