]> piware.de Git - bin.git/commitdiff
build-devmock: Fix cleaning
authorMartin Pitt <martin@piware.de>
Wed, 10 Jul 2019 06:21:32 +0000 (08:21 +0200)
committerMartin Pitt <martin@piware.de>
Wed, 10 Jul 2019 06:21:32 +0000 (08:21 +0200)
build-devmock

index 54729fcb625a520e03e1de66c77b8615a7a1b2b8..93daa84c72486b44cfb417be0c3d7482be1b0484 100755 (executable)
@@ -2,7 +2,7 @@
 set -eux
 MOCK="mock -r ${OS:-default}"
 
-mock --clean
+$MOCK --clean
 
 # install cockpit's build deps
 $MOCK -i $(sed -n '/^BuildRequires:/ {s/^.*: //; s/>=.*$//; s/%{.*}//; p}' ~/upstream/cockpit/tools/cockpit.spec) \