diff options
Diffstat (limited to 'bin/d-i_build.sh')
-rwxr-xr-x | bin/d-i_build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index 01966181..e2af277d 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -12,6 +12,8 @@ RESULT_DIR=$(readlink -f ..) ISO_DIR=/srv/d-i/isos LVC_HOST=profitbricks-build10-amd64.debian.net +[ -v GIT_BRANCH ] || GIT_BRANCH="$(git branch -r --contains $GIT_COMMIT | tail -1 | cut -c3-)" + clean_workspace() { # # clean |