The $ needs to be escaped when calling shell code from a
Makefile.

Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
---
 Makefile.ci | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.ci b/Makefile.ci
index 977e0445c6..14d595a00f 100644
--- a/Makefile.ci
+++ b/Makefile.ci
@@ -114,8 +114,8 @@ ifeq ($(CI_ENGINE),podman)
        # need to be higher, but that only happens when your /etc/sub{u,g}id 
allow
        # users to have more IDs.  Unless --keep-uid is supported, let's do 
this in a
        # way that should work for everyone.
-       CI_MAX_UID = $(shell sed -n "s/^$USER:[^:]\+://p" /etc/subuid)
-       CI_MAX_GID = $(shell sed -n "s/^$USER:[^:]\+://p" /etc/subgid)
+       CI_MAX_UID = $(shell sed -n "s/^$$USER:[^:]\+://p" /etc/subuid)
+       CI_MAX_GID = $(shell sed -n "s/^$$USER:[^:]\+://p" /etc/subgid)
        ifeq ($(CI_MAX_UID),)
                CI_MAX_UID = 65536
        endif
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to