dev-camput: redo in Perl; pass dev gpg secring path

This commit is contained in:
Brad Fitzpatrick 2011-05-15 21:54:57 -07:00
parent fe6ec65da5
commit 34b0f50864
1 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,14 @@
#!/bin/sh
#!/usr/bin/perl
./build.pl camput && \
clients/go/camput/camput --verbose --blobserver=http://localhost:3179/bs --password=pass3179 $@
use strict;
use FindBin qw($Bin);
system("$Bin/build.pl", "camput") and die "failed to build camput";
$ENV{"CAMLI_CONFIG_DIR"} = "$Bin/config/dev-client-dir";
system("$Bin/clients/go/camput/camput",
"--verbose",
"--secret-keyring=$Bin/lib/go/camli/jsonsign/testdata/test-secring.gpg",
"--blobserver=http://localhost:3179/bs",
"--password=pass3179",
@ARGV);