yunohost/data/helpers.d
Maniack Crudelis 50f3291ea7 Fix getopts with blank argument's value
There's no reason in that loop where we're looking for values of an option to have a blank cell in the array of arguments. Unless for an option with a missing value.
In that case, it's better to ignore this condition and store a blank value in the variable.
Otherwise, in case of missing value for an option, with this condition, we enter in an infinite loop, because the shift will stay at 0.
2019-01-04 18:44:40 +01:00
..
backend Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
filesystem Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
getopts Fix getopts with blank argument's value 2019-01-04 18:44:40 +01:00
ip Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
mysql Keep db_pwd instead of db_password 2019-01-04 18:43:56 +01:00
network Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
nodejs Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
package Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
print Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
psql [fix] local variables and various fix on psql helpers 2018-06-17 01:39:22 +02:00
setting Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
string Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
system Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
user Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
utils Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00