From aa5dc4938d43ae90e8604ffea40a759ff798da4b Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 26 Jan 2023 23:30:56 +0100 Subject: scripts --- testrun.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testrun.sh') diff --git a/testrun.sh b/testrun.sh index 774962d..b8caf37 100755 --- a/testrun.sh +++ b/testrun.sh @@ -2,11 +2,14 @@ mkdir -p testrun/pkgout +CHOWN_TO="$USER" +OUTPUT="$(pwd)/testrun/pkgout" + ./build.sh docker run --name archpkg-test --env PACKAGE_NAME=minipro \ - --env FORCE_REBUILD=yes --env CHOWN="$UID:$(id -g "$USER")" \ - -v "$(pwd)/testrun/pkgout:/pkgout" \ + --env FORCE_REBUILD=yes --env CHOWN="$(id -u "$CHOWN_TO"):$(id -g "$CHOWN_TO")" \ + -v "$OUTPUT:/pkgout" \ archpkg docker rm archpkg-test -- cgit v1.2.3