mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
define a default YNH_APP_BASEDIR
This commit is contained in:
parent
c1eecd5eb3
commit
efdd287bff
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$YNH_APP_BASEDIR" ];
|
||||||
|
then
|
||||||
|
ynh_print_warn --message="YNH_APP_BASEDIR is not defined, many helpers use it, please define it!"
|
||||||
|
YNH_APP_BASEDIR=$(realpath ..)
|
||||||
|
fi
|
||||||
|
|
||||||
# Handle script crashes / failures
|
# Handle script crashes / failures
|
||||||
#
|
#
|
||||||
# [internal]
|
# [internal]
|
||||||
|
|
Loading…
Add table
Reference in a new issue