removed some more importenv.pl and remove hostname.pl.
[feisty_meow.git] / scripts / archival / snarf_opensim.pl
index 957f32038b3d22293f30626f467b80b5566e76ad..6840498d2bdc822289ffa858650b4ee71aea57b8 100644 (file)
 #  version of the License.  Please send any updates to "fred@gruntose.com".   #
 ###############################################################################
 
-require "importenv.pl";
 require "shared_snarfer.pl";
 
+use Env qw(HOME);
+
 &initialize_snarfer;  # let the snarfer hook us in.
 
 # get the number attachment and increment it for the next use.
 local($number) = &retrieve_number("aa_backup");
 
 # variables used throughout here.
-local($snarf_file_base) = &snarf_prefix("config-opensim_");
+local($snarf_file_base) = &snarf_prefix("config-opensim");
 local($snarf_file) = &snarf_name($snarf_file_base, $number);
 
 # store the archive number in the file for retrieval on the other side.