summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNeko-san2022-12-09 04:10:50 -0600
committerNeko-san2022-12-09 04:10:50 -0600
commit0a9b2550f6a053c25e287a1c731b69fa1834ce48 (patch)
treec52bee6deb18880c68c15ff9e7191f196d180113 /PKGBUILD
parent903543c0f255d373d0411e7ee8ca55232d3d1ab4 (diff)
downloadaur-0a9b2550f6a053c25e287a1c731b69fa1834ce48.tar.gz
Corrected a mistake that was made to prevent a SC2115 Bash warning; updated to pkgrel 25
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1cbc864163e3..d9a448879aaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
# If you want additional options, there are switches below.
pkgname=unreal-engine
pkgver=5.1.0
-pkgrel=24
+pkgrel=25
pkgdesc='A 3D game engine by Epic Games which can be used non-commercially for free.'
arch=('x86_64' 'x86_64_v2' 'x86_64_v3' 'x86_64_v4' 'aarch64')
url=https://www.unrealengine.com/
@@ -214,7 +214,7 @@ package() {
# Copy the rest of it to pkg... Should we be overwriting LocalBuilds?
cp -flr "${srcdir}"/"${pkgname}"/* "${pkgdir}"/"${_install_dir}"/
if [ -f "${srcdir}"/"${pkgname}"/Engine/Binaries/Linux/UnrealEditor ]; then
- rm -r "${srcdir}"/"${pkgname}"/*$
+ rm -r "${srcdir}"/"${pkgname:?}"/*
fi
if [ -f "${srcdir}/${pkgname}/cpp.hint" ] && [ ! -d "${srcdir}/${pkgname}/cpp.hint" ]; then