From e3ac8dceaded13f4ad919ec05b61d76da5c58603 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 31 Mar 2025 08:56:46 +0900 Subject: [PATCH] Refactor variable declarations in appimage_maker.sh for consistency --- automation_tools/appimage_maker.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/automation_tools/appimage_maker.sh b/automation_tools/appimage_maker.sh index 4087473..23a87f8 100755 --- a/automation_tools/appimage_maker.sh +++ b/automation_tools/appimage_maker.sh @@ -10,20 +10,20 @@ set -e # $5...: (Optional) One or more patch file paths to be applied before building -local REPO_URL="$1" -local APP_NAME="$2" -local APPIMAGE_OUTPUT="$3" -local CMAKE_ARGS="${4:-}" +REPO_URL="$1" +APP_NAME="$2" +APPIMAGE_OUTPUT="$3" +CMAKE_ARGS="${4:-}" shift 4 -local PATCH_FILES=("$@") # Remaining arguments are patch files +PATCH_FILES=("$@") # Remaining arguments are patch files # Static/temporary names based on the app name: -local CLONE_DIR="$APP_NAME" -local BUILD_DIR="build" -local APPDIR="${APP_NAME}.AppDir" +CLONE_DIR="$APP_NAME" +BUILD_DIR="build" +APPDIR="${APP_NAME}.AppDir" # Save current directory -local CURRENT_DIR +CURRENT_DIR CURRENT_DIR="$(pwd)" echo "--- AppImage Maker initiated ---"