Browse Source

bin/build-packages: deduplicate a line

Erich Eckner 3 months ago
parent
commit
ee25e86a65
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      bin/build-packages

+ 2
- 3
bin/build-packages View File

@@ -480,11 +480,10 @@ while [ "${count}" -ne 0 ] && \
480 480
           fi
481 481
         fi
482 482
 
483
+        outerParameters="-r ${archbuild_chroots}"
483 484
         if echo "${straw}" | \
484 485
           grep -qF ':clean_chroot:'; then
485
-          outerParameters="-c -r ${archbuild_chroots}"
486
-        else
487
-          outerParameters="-r ${archbuild_chroots}"
486
+          outerParameters="-c ${outerParameters}"
488 487
         fi
489 488
 
490 489
         innerParameters='--nocolor'