From b38799bbb4b7b01d111f814f6f741dd4bc25c563 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Sat, 15 Oct 2022 01:50:48 +0200 Subject: ArchiSteamFarm: make update scripts indepent from where they are run, cleanups --- pkgs/applications/misc/ArchiSteamFarm/update.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'pkgs/applications/misc/ArchiSteamFarm/update.sh') diff --git a/pkgs/applications/misc/ArchiSteamFarm/update.sh b/pkgs/applications/misc/ArchiSteamFarm/update.sh index f5e79769b3c5..86a94575164e 100755 --- a/pkgs/applications/misc/ArchiSteamFarm/update.sh +++ b/pkgs/applications/misc/ArchiSteamFarm/update.sh @@ -15,15 +15,13 @@ if [[ "$new_version" == "$old_version" ]]; then fi fi -asf_path=$(pwd) +asf_path=$PWD cd ../../../.. -nixpkgs_path=$(pwd) if [[ "${1:-}" != "--deps-only" ]]; then update-source-version ArchiSteamFarm "$new_version" fi $(nix-build -A ArchiSteamFarm.fetch-deps --no-out-link) "$deps_file" -cd "$asf_path" -./web-ui/update.sh +exec "$asf_path/web-ui/update.sh" -- cgit 1.4.1