Commit 520bc134 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Make autopkg_debian script to create temp dir

parent fdf79166
#!/usr/bin/env sh
devflow-autopkg snapshot $@
BUILD_NUMBER=$1
BUILDBOT_BUILD_DIR=buildpkg_debian
shift
TEMP_DIR=$(mktemp -d /tmp/devflow_autopkg_XXXXXXX)
# Create the packages
devflow-autopkg snapshot -b $TEMP_DIR $@
# MOVE the packages
mkdir -p buildpkg_debian/$BUILD_NUMBER
mv -n $TEMP_DIR/* $BUILDBOT_BUILD_DIR/$BUILD_NUMBER/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment