mv_docker.sh : Better shebang and Added set -e flag
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
WSL_DIR=/d/WSL2
|
||||
set -e
|
||||
|
||||
WSL_DIR='/d/WSL2'
|
||||
|
||||
WSLS="$(wsl --list | sed 1d | cut -d' ' -f 1 | sed $'s/[^[:print:]\t]//g' | head -n -1)"
|
||||
|
||||
|
Reference in New Issue
Block a user