From 8cdce038507026c9df2acf1eb8782a23e6debe34 Mon Sep 17 00:00:00 2001 From: BeatLink Date: Sat, 24 Aug 2019 02:57:55 -0500 Subject: fix flatpak build --- flatpak/build_flatpak.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'flatpak') diff --git a/flatpak/build_flatpak.sh b/flatpak/build_flatpak.sh index 83d4e4a..999c710 100755 --- a/flatpak/build_flatpak.sh +++ b/flatpak/build_flatpak.sh @@ -11,9 +11,9 @@ FLATPAK_BUNDLE=$3; _SCRIPT_FOLDER=$(realpath $(dirname $0)); _FLATHUB_REPO="flathub https://flathub.org/repo/flathub.flatpakrepo"; _FLATHUB_PACKAGES_TO_INSTALL="org.gnome.Platform/x86_64/3.32 org.gnome.Sdk/x86_64/3.32"; -_EXTRACTED_BINARY_TARBALL_FOLDER=./librewolf +_EXTRACTED_BINARY_TARBALL_FOLDER=$_SCRIPT_FOLDER/librewolf _FLATPAK_JSON_FILE=$_SCRIPT_FOLDER/content/io.gitlab.LibreWolf.json; -_FLATPAK_BUILD_SOURCE_FOLDER=./source; +_FLATPAK_BUILD_SOURCE_FOLDER=$_SCRIPT_FOLDER/source; _FLATPAK_BUILD_FOLDER=build-dir; # Install build dependencies @@ -23,7 +23,7 @@ flatpak install -y flathub $_FLATHUB_PACKAGES_TO_INSTALL; # Extracts the binary tarball printf "\nExtracting librewolf binary tarball\n"; -tar -xvf $BINARY_TARBALL; +tar -xvf $BINARY_TARBALL -C $_EXTRACTED_BINARY_TARBALL_FOLDER; # Prepare for flatpak build printf "\nPreparing files for flatpak build\n"; -- cgit