From cde9a5366dfecdc5291c9028cb80f471c90cbd49 Mon Sep 17 00:00:00 2001 From: Matan Date: Mon, 2 Apr 2018 21:31:38 +0300 Subject: [PATCH] Double quote arguments when execute the expect script In order to be able to pass variables that include spaces, I double quoted the arguments. --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 17d5e0a..f14d237 100644 --- a/scripts/install +++ b/scripts/install @@ -85,7 +85,7 @@ ynh_system_user_create $seafile_user $final_path # Run install script chmod +x ../conf/install.exp chmod +x $final_path/seafile-server-$seafile_version/setup-seafile-mysql.sh -../conf/install.exp $final_path/seafile-server-$seafile_version $server_name $domain $seafile_data $fileserver_port $db_pwd +../conf/install.exp "$final_path/seafile-server-$seafile_version" "$server_name" "$domain" "$seafile_data" "$fileserver_port" "$db_pwd" # Update seafile config ynh_replace_string http:// https:// $final_path/conf/ccnet.conf