tests/create-tarball-dry-run: fix MODE->VARIANT

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-11-16 14:02:58 +01:00
parent d442f436de
commit 5bd3da0aef
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -24,7 +24,7 @@ if [ "$(id -u)" -eq 0 ] && [ "{{ MODE }}" != root ] && [ "{{ MODE }}" != auto ];
sysctl -w kernel.unprivileged_userns_clone=1 sysctl -w kernel.unprivileged_userns_clone=1
fi fi
prefix="runuser -u user --" prefix="runuser -u user --"
if [ "{{ MODE }}" = extract ] || [ "{{ MODE }}" = custom ]; then if [ "{{ VARIANT }}" = extract ] || [ "{{ VARIANT }}" = custom ]; then
include="$(tr '\n' ',' < pkglist.txt)" include="$(tr '\n' ',' < pkglist.txt)"
fi fi
fi fi