File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -201,8 +201,10 @@ cp "$BASEDIR/share/sitecustomize.py" "$APPDIR"/${prefix}/lib/python*/site-packag
201201# Patch binaries and install dependencies
202202excludelist=" ${BASEDIR} /share/excludelist"
203203if [[ ! -f " ${excludelist} " ]]; then
204+ pushd " ${BASEDIR} "
204205 wget -cq --no-check-certificate " https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist"
205- excludelist=" excludelist"
206+ excludelist=" $( pwd) /excludelist"
207+ popd
206208fi
207209excludelist=$( cat " ${excludelist} " | sed ' s|#.*||g' | sed -r ' /^\s*$/d' )
208210
@@ -220,9 +222,11 @@ set -e
220222patchelf=" ${patchelf:- ${BASEDIR} / usr/ bin/ patchelf} "
221223if [[ ! -x " ${patchelf} " ]]; then
222224 ARCH=" ${ARCH:- x86_64} "
225+ pushd " ${BASEDIR} "
223226 wget -cq https://github.com/niess/patchelf.appimage/releases/download/${ARCH} /patchelf-${ARCH} .AppImage
224227 patchelf=" $( pwd) /patchelf-${ARCH} .AppImage"
225228 chmod u+x " ${patchelf} "
229+ popd
226230fi
227231
228232patch_binary () {
You can’t perform that action at this time.
0 commit comments