Browse Source

Concat the env string instead of replacing $cmd

Markus Hennecke 6 years ago
parent
commit
3642f7a8f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      autoupdate.pl

+ 1 - 1
autoupdate.pl

@@ -603,7 +603,7 @@ sub build_pkg {
 	if ($build_result == 0) {
 		$cmd = '';
 		$cmd .= $sudo if ($sudo_make_clean);
-		$cmd = ' env FORCE_UPDATE=Yes CLEANDEPENDS=No ';
+		$cmd .= ' env FORCE_UPDATE=Yes CLEANDEPENDS=No ';
 		$cmd .= "FLAVOR=\"$info->{flavor}\" "
 		    if ($info->{flavor} ne '');
 		$cmd .= "SUBPACKAGE=$info->{subpkg} "