Use a variable for username to build paths
[buildfarm-client.git] / run_branches.pl
index 702d1a40aabd9e4afa55197ab82579e032a10350..2b0e23007d24fe89ad1522b43815cca494eddf30 100755 (executable)
@@ -41,6 +41,10 @@ die "only one of --run-all and --run-one permitted"
 die "need one of --run-all and --run-one"
   unless ($run_all || $run_one);
 
+# common mistake
+die "need group searchable homedir"
+  unless (stat($ENV{HOME}) & 0550 == 0550);
+
 # set up a "branch" variable for processing the config file
 use vars qw($branch);
 $branch = 'global';