From 376333b39247839499fb90e95f3e1db944a2a0b9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 9 Jul 2009 11:36:52 +0200 Subject: envstore: Change the store file by setting ENVSTORE_FILE --- bin/envstore | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/envstore b/bin/envstore index f0b7b98..42284a0 100755 --- a/bin/envstore +++ b/bin/envstore @@ -7,7 +7,7 @@ use warnings; use Pod::Usage; use Storable 'nstore', 'retrieve'; -my $store_file = "/tmp/envstore-$>"; +my $store_file = $ENV{ENVSTORE_FILE} || "/tmp/envstore-$>"; my %store; my $action = shift; my $arg = shift; @@ -131,6 +131,17 @@ Remove I from store =back +=head1 ENVIRONMENT + +=over + +=item B + +The file in which the environment parameters are stored. By default +F + +=back + =head1 AUTHOR B was written by Daniel Friesel Ederf@derf.homelinux.orgE -- cgit v1.2.3