broken option parsing in casper-snapshot

Bug #179411 reported by Tormod Volden
2
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: casper

casper-snapshot does not deal with options, it just gets the first word in the list of arguments. $1 has been used instead of $@, or another $@ was maybe changed from $* at one point.

Related branches

Revision history for this message
Tormod Volden (tormodvolden) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

I think it's better just to pass "$@" to getopt directly. Assigning it to ARGS doesn't help and just confuses the issue. I've committed a variant of your change that does that. Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.114

---------------
casper (1.114) hardy; urgency=low

  * casper-md5check: Close md5_file before exiting.
  * Disable tracker-applet as well as trackerd, otherwise the former starts
    the latter.
  * casper-snapshot: Fix argument parsing (thanks, Tormod Volden;
    LP: #179411).

 -- Colin Watson <email address hidden> Tue, 15 Jan 2008 18:25:21 +0000

Changed in casper:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.