mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
build/linux: Fix '--no-expand' param of conf_app function on AppImage script
This commit is contained in:
parent
b2493f4273
commit
abeac94e8e
1 changed files with 3 additions and 1 deletions
|
@ -226,8 +226,10 @@ conf_app ()
|
|||
|
||||
#Get expanded var
|
||||
if [ "$3" != '--no-expand' ]; then
|
||||
appdir_path='${APPDIR}/usr/'
|
||||
var_path="$(echo $prefix/$2 | sed "s|${prefix}/||g")"
|
||||
else
|
||||
unset appdir_path
|
||||
var_path="$2"
|
||||
fi
|
||||
|
||||
|
@ -237,7 +239,7 @@ conf_app ()
|
|||
if [ ! -f "$apprun.bak" ]; then
|
||||
cp $apprun "$apprun.bak"
|
||||
fi
|
||||
echo "export $1=\"\${APPDIR}/usr/$var_path\"" >> "$apprun"
|
||||
echo "export $1=\"${appdir_path}${var_path}\"" >> "$apprun"
|
||||
fi
|
||||
eval export $1="${prefix}/$var_path" || $true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue