gnu-pricing icon indicating copy to clipboard operation
gnu-pricing copied to clipboard

Spaces in arguments

Open wazari972 opened this issue 9 years ago • 0 comments

Hello,

there is a bug with arguments containing spaces not correctly passed to the real binary:

$ mv Downloads/carnet\ pl\ sout.pdf /media/mmcblk0p1
mv: cannot stat ‘Downloads/carnet’: No such file or directory
mv: cannot stat ‘pl’: No such file or directory
mv: cannot stat ‘sout.pdf’: No such file or directory

it can be fixed by changed the last line of pricing.sh to

$THISCMD "$@"

or better

exec $THISCMD "$@"

wazari972 avatar May 29 '15 08:05 wazari972