[Lunar-bugs] [bug] lrm and files with spaces in their names
lunar-bugs at lunar-linux.org
lunar-bugs at lunar-linux.org
Sun Dec 19 02:31:12 UTC 2004
Project: lunar-linux
ID:
Version: <none>
Component: theedge (core tools)
Category: bug reports
Priority: normal
Assigned to: <unassigned>
Reported by: v3rt1g0
Updated by: v3rt1g0
Status: active
calling 'lrm njam' on the installed njam module produces an error
message of:
+ remove_something: no such file "/usr/games/njam/levels/RAVENS"!
because it is attempting to remove the file:
'/usr/games/njam/levels/RAVENS CURSE.COOP' (note the space).
The issue is that the remove_something() method in lrm is being passed
that entire string ($@) but is only acting on $1 which is just
'/usr/games/njam/levels/RAVENS' So either this method should be
internally using $@ everywhere or we need to escape characters going
into this method.
Using theedge: 20041219 (This may effect lunar as well, but did not
check)
v3rt1g0
--
View: http://lunar-linux.org/?q=node/view/634
Edit: http://lunar-linux.org/?q=project/comments/add/634
More information about the Lunar-bugs
mailing list