From c6084fbc2a46883725a53aedc234d08ba3a7faac Mon Sep 17 00:00:00 2001 From: codehelp Date: Fri, 26 Jul 2013 08:37:29 +0000 Subject: [PATCH] avoid commenting on a blank configsh setting. git-svn-id: http://emdebian.org/svn/current@8458 563faec7-e20c-0410-992a-a66f704d0ccd --- multistrap | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/multistrap b/multistrap index aa7400a..c996233 100755 --- a/multistrap +++ b/multistrap @@ -1151,9 +1151,12 @@ sub cascade { if (defined $keys{$section}{'tarballname'} and (not defined $tgzname)); chomp($tgzname) if (defined $tgzname); undef $tgzname if (defined $tgzname and $tgzname eq ''); + if ((defined $configsh) and ($configsh eq '')) { + undef $configsh + } if ((defined $configsh) and (not -x $configsh)) { - undef $configsh; my $configmsg = sprintf (_g("INF: '%s' exists but is not executable - ignoring.\n"), $configsh); + undef $configsh; warn $configmsg; $warn_count++; }