Remove useless reassign when exporting.
This commit is contained in:
parent
196508071d
commit
4512b0d626
1 changed files with 2 additions and 2 deletions
4
qemu-vm
4
qemu-vm
|
@ -66,8 +66,8 @@ MEM_PATH="$(SUDO="$SUDO" qemu-vm-mem init "$NUM_MEM")"
|
|||
t="$(mktemp -d)"
|
||||
for f in "$CONFIG_PATH_ARGUMENTS/"*.sh "$CONFIG_PATH_ARGUMENTS_SPECIFIC/"*.sh; do
|
||||
(
|
||||
export SUDO="$SUDO"
|
||||
export MEM_PATH="$MEM_PATH"
|
||||
export SUDO
|
||||
export MEM_PATH
|
||||
source "$f"
|
||||
newfile="$(basename "$f" .sh)"
|
||||
envsubst < "${f%.sh}" > "$t/$newfile"
|
||||
|
|
Loading…
Add table
Reference in a new issue