diff options
author | Alexander Larsson <alexl@redhat.com> | 2017-05-10 09:43:33 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2017-05-10 11:54:27 +0200 |
commit | 99a6200cab0b498fa4e360e64da26292cd2cef4d (patch) | |
tree | 57bb2addd0fc66180f81506ec7114db7a447a8db /tests/make-test-app.sh | |
parent | 66e91f55e87034208f33d10101009425a12207f6 (diff) | |
download | flatpak-99a6200cab0b498fa4e360e64da26292cd2cef4d.tar.gz |
tests: Make it possible to create multiple test repos
Diffstat (limited to 'tests/make-test-app.sh')
-rwxr-xr-x | tests/make-test-app.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/make-test-app.sh b/tests/make-test-app.sh index a3776c1e..e28a1c0c 100755 --- a/tests/make-test-app.sh +++ b/tests/make-test-app.sh @@ -4,6 +4,9 @@ set -e DIR=`mktemp -d` +REPONAME=$1 +shift + EXTRA="${1-}" ARCH=`flatpak --default-arch` @@ -62,5 +65,5 @@ cp $(dirname $0)/org.test.Hello.png ${DIR}/files/share/app-info/icons/flatpak/64 flatpak build-finish --command=hello.sh ${DIR} mkdir -p repos -flatpak build-export ${GPGARGS-} repos/test ${DIR} +flatpak build-export ${GPGARGS-} repos/${REPONAME} ${DIR} rm -rf ${DIR} |