[Bps-public-commit] RTx-TakeScreenshots branch, master, updated. d1992e7bf0adaaf84773fbee28e20549f7049084

Shawn Moore sartak at bestpractical.com
Tue Mar 8 13:58:06 EST 2011


The branch, master has been updated
       via  d1992e7bf0adaaf84773fbee28e20549f7049084 (commit)
      from  c9bd2d1cc902b1561f6f3ec328b85295c036b341 (commit)

Summary of changes:
 bin/take-screenshots |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit d1992e7bf0adaaf84773fbee28e20549f7049084
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Mar 8 13:57:09 2011 -0500

    Put screenshots in PWD not /tmp so you can find em

diff --git a/bin/take-screenshots b/bin/take-screenshots
index 0769021..addc8a1 100755
--- a/bin/take-screenshots
+++ b/bin/take-screenshots
@@ -11,14 +11,14 @@ unless (server_is_running) {
 
 use Getopt::Long;
 my $RT      = 'http://localhost:8008';
-my $output  = '/tmp';
+my $output  = $ENV{PWD};
 GetOptions(
     'url=s'     => \$RT,
     'output=s'  => \$output,
 );
 
 unless ($RT) {
-    die "Usage: $0 --url http://localhost:8008 --output /tmp\n";
+    die "Usage: $0 --url http://localhost:8008 --output .\n";
 }
 
 # title|path -> [title, path]

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list