Skip to content

Commit

Permalink
shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
einsiedler90 committed Nov 6, 2023
1 parent 6c4cb34 commit 07b4bb6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,19 @@ save" | xmllint --shell "tmp_src/WhonixInstaller.lpi"
if [ "$TARGET_SYSTEM" = "WINDOWS" ]; then
echo -e "\
cd //Resources/Resource_2[@ResourceName='LICENSE']/@FileName
set $(realpath $FILE_LICENSE)
set $(realpath "$FILE_LICENSE")
cd //Resources/Resource_5[@ResourceName='VBOX']/@FileName
set $(realpath $FILE_VBOX_INST_EXE)
set $(realpath "$FILE_VBOX_INST_EXE")
cd //Resources/Resource_6[@ResourceName='STARTER']/@FileName
set $(realpath $FILE_WHONIX_STARTER_MSI)
set $(realpath "$FILE_WHONIX_STARTER_MSI")
save" | xmllint --shell "tmp_src/WhonixInstaller.lpi"
fi
if [ "$TARGET_SYSTEM" = "LINUX" ]; then
echo -e "\
cd //Resources/Resource_2[@ResourceName='LICENSE']/@FileName
set $(realpath $FILE_LICENSE)
set $(realpath "$FILE_LICENSE")
cd //Resources/Resource_3[@ResourceName='SCRIPT']/@FileName
set $(realpath $FILE_CLI_INSTALLER_SCRIPT)
set $(realpath "$FILE_CLI_INSTALLER_SCRIPT")
save" | xmllint --shell "tmp_src/WhonixInstaller.lpi"
fi

Expand Down

0 comments on commit 07b4bb6

Please sign in to comment.