Skip to content

Commit

Permalink
Merge pull request #3 from einsiedler90/main
Browse files Browse the repository at this point in the history
shellcheck
  • Loading branch information
einsiedler90 authored Nov 6, 2023
2 parents 5ba36e8 + 07b4bb6 commit 4bbc729
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 4bbc729

Please sign in to comment.