2011-05-16 04:54:57 +00:00
|
|
|
#!/usr/bin/perl
|
2011-01-01 22:44:19 +00:00
|
|
|
|
2011-05-16 04:54:57 +00:00
|
|
|
use strict;
|
|
|
|
use FindBin qw($Bin);
|
|
|
|
|
|
|
|
system("$Bin/build.pl", "camput") and die "failed to build camput";
|
|
|
|
|
2011-05-30 19:38:26 +00:00
|
|
|
# Respected by camli/osutil:
|
2011-05-16 04:54:57 +00:00
|
|
|
$ENV{"CAMLI_CONFIG_DIR"} = "$Bin/config/dev-client-dir";
|
2011-05-30 19:38:26 +00:00
|
|
|
|
|
|
|
# Respected by env expansions in config/dev-client-dir/config
|
|
|
|
$ENV{"CAMLI_SECRET_RING"} = "$Bin/lib/go/camli/jsonsign/testdata/test-secring.gpg";
|
|
|
|
$ENV{"CAMLI_DEV_KEYBLOBS"} = "$Bin/config/dev-client-dir/keyblobs";
|
|
|
|
|
2011-05-16 04:54:57 +00:00
|
|
|
system("$Bin/clients/go/camput/camput",
|
|
|
|
"--verbose",
|
|
|
|
"--blobserver=http://localhost:3179/bs",
|
|
|
|
"--password=pass3179",
|
|
|
|
@ARGV);
|