aboutsummaryrefslogtreecommitdiff
path: root/testrun.sh
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-11 00:18:46 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-11-11 00:18:46 +0100
commit1cb62685afe79e7d3ab5c38b1ff6900c587f96d3 (patch)
treeef73c4093cc1fc8224e038eae8fccb171fba24c9 /testrun.sh
parent800ded9aac3cb1d735609748a3967af3532d0cd9 (diff)
downloadaurbuilder-1cb62685afe79e7d3ab5c38b1ff6900c587f96d3.tar.gz
more working
Diffstat (limited to 'testrun.sh')
-rwxr-xr-xtestrun.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/testrun.sh b/testrun.sh
index 955bc95..774962d 100755
--- a/testrun.sh
+++ b/testrun.sh
@@ -1,13 +1,12 @@
#!/bin/bash
-
-mkdir -p testrun/db
mkdir -p testrun/pkgout
./build.sh
docker run --name archpkg-test --env PACKAGE_NAME=minipro \
- -v $(pwd)/testrun/db:/db -v $(pwd)/testrun/pkgout:/pkgout \
+ --env FORCE_REBUILD=yes --env CHOWN="$UID:$(id -g "$USER")" \
+ -v "$(pwd)/testrun/pkgout:/pkgout" \
archpkg
docker rm archpkg-test