mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1229 from Salamandar/patch-1
Set YNH_APP_BASEDIR as an absolute path
This commit is contained in:
commit
6ddc4b8cea
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
YNH_APP_BASEDIR=$([[ "$(basename $0)" =~ ^backup|restore$ ]] && echo '../settings' || echo '..')
|
||||
YNH_APP_BASEDIR=$(realpath $([[ "$(basename $0)" =~ ^backup|restore$ ]] && echo '../settings' || echo '..'))
|
||||
|
||||
# Handle script crashes / failures
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue