Assistant: Fix installation of menus, icons, etc when run from within runshell.
runshell followed by git annex webapp didn't install that stuff, because GIT_ANNEX_APP_BASE is not set. Running git-annex.linux/git-annex-webapp did install that stuff, since that script set the env var. I noticed this with the termux port whose instructions currently go that way. Seems the right thing to do is to move the env var setting to runshell.
This commit is contained in:
parent
bed5271d3f
commit
b2accf9da1
9 changed files with 6 additions and 49 deletions
|
@ -21,11 +21,4 @@ cd "$base"
|
|||
base="$(pwd)"
|
||||
cd "$orig"
|
||||
|
||||
# If this is a standalone app, set a variable that git-annex can use to
|
||||
# install itself.
|
||||
if [ -e "$base/bin/git-annex" ]; then
|
||||
GIT_ANNEX_APP_BASE="$base"
|
||||
export GIT_ANNEX_APP_BASE
|
||||
fi
|
||||
|
||||
exec "$base/runshell" git "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue