From abb5b518ab1e14801e03779a75f78c0b4f86d804 Mon Sep 17 00:00:00 2001 From: Daniil Baturin <daniil@vyos.io> Date: Tue, 16 Apr 2024 19:01:00 +0000 Subject: build: T3664: move sudo out of the make target to avoid permission problems --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e8982735..9d8b2d0d 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,7 @@ all: @echo "The most common target is 'iso'" %: - sudo \ - VYOS_TEMPLATE_DIR=`pwd`/vyos-1x/data/templates/ \ - ./build-vyos-image $* + VYOS_TEMPLATE_DIR=`pwd`/vyos-1x/data/templates/ ./build-vyos-image $* .PHONY: checkiso .ONESHELL: -- cgit v1.2.3