[projects/cleanbuild] Fix docker exec for rpm-build-tools initialize

glen glen at pld-linux.org
Sun Aug 29 15:58:31 CEST 2021


commit d59399e8d530b2c8124f796ce43bd35d7199eff7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 29 16:58:11 2021 +0300

    Fix docker exec for rpm-build-tools initialize

 bin/cleanbuild-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bin/cleanbuild-docker.sh b/bin/cleanbuild-docker.sh
index a30d812..624a48f 100755
--- a/bin/cleanbuild-docker.sh
+++ b/bin/cleanbuild-docker.sh
@@ -89,7 +89,7 @@ create_container() {
 
 	if [ ! -d $topdir/rpm-build-tools ]; then
 		notice "Initialize rpm-build-tools"
-		docker exec $name -w / builder --init-rpm-dir
+		docker exec -w / $name builder --init-rpm-dir
 	fi
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/d59399e8d530b2c8124f796ce43bd35d7199eff7



More information about the pld-cvs-commit mailing list