Changeset 611bd26 for client


Ignore:
Timestamp:
Jun 29, 2010, 7:34:04 PM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
Branches:
master, debian, mac, no-cups, web
Children:
618236b, 423cc42
Parents:
b77c92c
git-author:
Jessica B. Hamrick <jhamrick@…> (06/29/10 19:34:04)
git-committer:
Jessica B. Hamrick <jhamrick@…> (06/29/10 19:34:04)
Message:

gbr and gbrm should use CUPS_SERVER instead of -h

Location:
client/bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • client/bin/gbr

    r30beeab r611bd26  
    3131}
    3232
    33 my @args = ("lp", "-h$host", "-d$queue", "$file");
     33my @args = ("CUPS_SERVER=$host", "lp", "-d$queue", "$file");
    3434exec (@args) or die "Couldn't execute lp command";
  • client/bin/gbrm

    r30beeab r611bd26  
    3434
    3535if ($id eq "all") {
    36     @args = ("cancel", "-a", "-h$host", "$queue");
     36    @args = ("CUPS_SERVER=$host", "cancel", "-a", "$queue");
    3737}
    3838else {
    39     @args = ("cancel", "-h$host", "$id", "$queue");
     39    @args = ("CUPS_SERVER=$host", "cancel", "$id", "$queue");
    4040}
    4141exec (@args) or die "Couldn't execute cancel command";
Note: See TracChangeset for help on using the changeset viewer.