mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Default value for $arch
This commit is contained in:
parent
7342f894e5
commit
0a84e2f226
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ ynh_install_nodejs () {
|
||||||
local arch
|
local arch
|
||||||
# Manage arguments with getopts
|
# Manage arguments with getopts
|
||||||
ynh_handle_getopts_args "$@"
|
ynh_handle_getopts_args "$@"
|
||||||
|
arch=${arch:-}
|
||||||
|
|
||||||
# Create $n_install_dir
|
# Create $n_install_dir
|
||||||
mkdir -p "$n_install_dir"
|
mkdir -p "$n_install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue