Remove useless reassign when exporting.

This commit is contained in:
redxef 2024-05-30 00:55:29 +02:00
parent 196508071d
commit 4512b0d626
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -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"