~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to s3tools/src/s3get.c

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2012-03-30 12:40:01 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120330124001-ze0lhxm5uwq2e3mo
Tags: 3.4.2-2
Added patch to handle a missing CFLAGS variable in Python's sysconfig
report (Closes: #661658).

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
                fprintf(stderr, "usage: s3get <bucket> <filename>\n");
22
22
                return -1;
23
23
        }
 
24
        fprintf(stderr, "checking bucket %s for file %s\n", argv[1], argv[2]);
24
25
 
25
26
        sprintf(remotename, "/%s", string_basename(argv[2]));
26
27
        s3_get_file(argv[2], NULL, remotename, argv[1], s3_userid(), s3_key());