mirror of
https://github.com/RetroDECK/AppImages.git
synced 2025-04-11 02:55:09 +00:00
Refactor variable declarations in appimage_maker.sh for consistency
This commit is contained in:
parent
57b0902591
commit
e3ac8dcead
|
@ -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 ---"
|
||||
|
|
Loading…
Reference in a new issue