From a770af55575d9219e0d8ced635bf3e15c2da563c Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Wed, 29 Jun 2022 06:58:30 -0700 Subject: [PATCH] Correct variable expansion --- .github/workflows/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.sh b/.github/workflows/update.sh index dcfc6fda0..afb5662b6 100644 --- a/.github/workflows/update.sh +++ b/.github/workflows/update.sh @@ -1,6 +1,6 @@ #!/bin/bash -directory=${APPIMAGE%$ARGV0} +directory=${APPIMAGE%${ARGV0/*\//}} if [ -w $directory ] ; then zenity --question --timeout=10 --title="yuzu updater" --text="New update available. Update now?" --icon-name=yuzu --window-icon=yuzu.svg --height=80 --width=400