1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

missed a bug

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
This commit is contained in:
Sven Dowideit 2014-03-20 10:18:08 +10:00
parent 43febdd432
commit 62eb23aed5

View file

@ -173,8 +173,8 @@ release_build() {
S3DIR=s3://$BUCKET/builds/$S3OS/$S3ARCH
if [ ! -x "$BINARY" ]; then
echo >&2 "error: can't find $BINARY - was it compiled properly?"
if [ ! -x "$SOURCE_DIR/$BINARY" ]; then
echo >&2 "error: can't find $SOURCE_DIR/$BINARY - was it compiled properly?"
exit 1
fi
if [ ! -f "$TGZ" ]; then
@ -188,7 +188,7 @@ release_build() {
echo "Uploading $BINARY_MD5 to $S3OS/$S3ARCH/docker-$VERSION.md5"
s3cmd --follow-symlinks --preserve --acl-public put $SOURCE_DIR/$BINARY_MD5 $S3DIR/$BINARY_MD5
echo "Uploading $BINARY_BINARY_SHA256 to $S3OS/$S3ARCH/docker-$VERSION.sha256"
echo "Uploading $BINARY_SHA256 to $S3OS/$S3ARCH/docker-$VERSION.sha256"
s3cmd --follow-symlinks --preserve --acl-public put $SOURCE_DIR/$BINARY_SHA256 $S3DIR/$BINARY_SHA256
echo "Uploading $TGZ to $S3OS/$S3ARCH/docker-$VERSION.tgz"