mirror of
https://github.com/danog/termux-api-package.git
synced 2024-11-26 20:34:48 +01:00
Prevent sensor names from being splitted when they contain spaces
This commit is contained in:
parent
c03b659042
commit
d2672c1310
@ -81,7 +81,7 @@ do
|
||||
a) set_flag $ALL_SENSORS_FLAG; PARAMS="-a sensors $PARAMS --ez all true" ;;
|
||||
c) set_flag $CLEANUP_FLAG; PARAMS="-a cleanup" ;;
|
||||
l) set_flag $LIST_FLAG; PARAMS="-a list" ;;
|
||||
s) set_flag $SENSOR_FLAG; get_sensors $OPTARG; PARAMS="-a sensors --es sensors $OPTARG" ;;
|
||||
s) set_flag $SENSOR_FLAG; get_sensors "$OPTARG"; PARAMS="-a sensors --es sensors $OPTARG" ;;
|
||||
d) set_flag $DELAY_FLAG; get_delay $OPTARG; PARAMS="$PARAMS --ei delay $OPTARG" ;;
|
||||
?) echo "$SCRIPTNAME: illegal option -$OPTARG"; exit 1;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user