From: Don Armstrong Date: Thu, 3 Nov 2005 09:37:17 +0000 (+0000) Subject: check for defined commands X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=commitdiff_plain;h=a22d86f9f7625e99cd9f09bedb4d964039d2c732 check for defined commands --- diff --git a/sa b/sa index 53f9f72..0557d25 100755 --- a/sa +++ b/sa @@ -124,6 +124,6 @@ while (my ($repo,$run_after) = each(%repos)) { ); } if ($command =~ /^up(?:date)|checkout$/) { - system($run_after,$repo); + system($run_after,$repo) if defined $run_after and length $run_after; } }