test: DATA_DIR can be externally defined
Change the use of DATA_DIR across all scripts so that it will only be set if it does not yet exist. This makes it possible to change the location of it across all scripts at once.
This commit is contained in:
parent
4dd2e6d814
commit
30aa71563c
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
SHARE_DIR=${SHARE_DIR:-/tmp/osbuild-composer-koji-test}
|
||||
DATA_DIR=/var/tmp/osbuild-koji-data
|
||||
DATA_DIR=${DATA_DIR:-/var/tmp/osbuild-koji-data}
|
||||
|
||||
# this script must be run as root
|
||||
if [ $UID != 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue