Merge "Preserve file attributes when copying image dirs for build"

This commit is contained in:
Jenkins 2015-04-30 01:12:15 +00:00 committed by Gerrit Code Review
commit 1bf3bb4e32

View File

@ -7,7 +7,7 @@ TOPDIR=$(git rev-parse --show-toplevel)
WORKDIR=$(mktemp -d /tmp/kolla-workdir.XXXXXXXXXX) WORKDIR=$(mktemp -d /tmp/kolla-workdir.XXXXXXXXXX)
# Remove $WORKDIR otherwise $TOPDIR is copied *inside* of it # Remove $WORKDIR otherwise $TOPDIR is copied *inside* of it
rm -rf $WORKDIR rm -rf $WORKDIR
cp -r "$TOPDIR" $WORKDIR cp -aL "$TOPDIR" $WORKDIR
DOCKERDIR="$WORKDIR/docker" DOCKERDIR="$WORKDIR/docker"
declare -A dependency declare -A dependency