mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] YNH_APP_BASEDIR may not exist, set -eu etc
This commit is contained in:
parent
c20ac160cc
commit
991eea447c
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -z "$YNH_APP_BASEDIR" ];
|
||||
if [ -z "${YNH_APP_BASEDIR:-}" ];
|
||||
then
|
||||
echo -e "YNH_APP_BASEDIR is not defined, many helpers use it, please define it!" >&2
|
||||
YNH_APP_BASEDIR=$(realpath ..)
|
||||
|
|
Loading…
Add table
Reference in a new issue