Double quote arguments when execute the expect script

In order to be able to pass variables that include spaces, I double quoted the arguments.
This commit is contained in:
Matan 2018-04-02 21:31:38 +03:00 committed by GitHub
parent 59860253ca
commit cde9a5366d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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