1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-21 20:33:00 +00:00

Merge branch 'release/0.1.4'

This commit is contained in:
Jörn-Michael Miehe 2020-08-26 15:09:20 +02:00
commit ceec221c3a
3 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# kiwi-scp instance configuration #
###################################
version: '0.1.3'
version: '0.1.4'
runtime:
storage: /tmp/kiwi

12
kiwi
View file

@ -32,6 +32,9 @@ CANARY_MAX_AGE=600
# DYNAMIC STRINGS #
###################
# cache current work directory
WORKDIR="$(pwd)"
# uri of correct kiwi-scp archive
kiwi_archive_uri() {
echo "${KIWI_REPO}/archive/${KIWI_VERSION}.tar.gz"
@ -52,9 +55,6 @@ kiwi_executable() {
echo "$(kiwi_root)/kiwi-scp.py"
}
# cache current work directory
WORKDIR="$(pwd)"
#############
# FUNCTIONS #
#############
@ -194,9 +194,6 @@ if [ ! -x "$(kiwi_executable)" ]; then
rm -rf "${tmp_dir}"
fi
# go back to the original work directory
cd "${WORKDIR}" || :
# setup main environment
KIWI_ROOT="$(kiwi_root)"
PIPENV_VERBOSITY=-1
@ -216,5 +213,8 @@ if ! pipenv --venv >/dev/null 2>/dev/null; then
echo "OK"
fi
# go back to the original work directory
cd "${WORKDIR}" || :
# run main script
exec pipenv run "$(kiwi_executable)" "${@}"

View file

@ -1 +1 @@
0.1.3
0.1.4