mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
hack: useless use of cat
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
This commit is contained in:
parent
ac20568b0a
commit
4d53a19528
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ DEFAULT_BUNDLES=(
|
||||||
ubuntu
|
ubuntu
|
||||||
)
|
)
|
||||||
|
|
||||||
VERSION=$(cat ./VERSION)
|
VERSION=$(< ./VERSION)
|
||||||
if command -v git &> /dev/null && git rev-parse &> /dev/null; then
|
if command -v git &> /dev/null && git rev-parse &> /dev/null; then
|
||||||
GITCOMMIT=$(git rev-parse --short HEAD)
|
GITCOMMIT=$(git rev-parse --short HEAD)
|
||||||
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
||||||
|
|
|
@ -60,7 +60,7 @@ if [ "$1" != '--release-regardless-of-test-failure' ]; then
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION=$(cat VERSION)
|
VERSION=$(< VERSION)
|
||||||
BUCKET=$AWS_S3_BUCKET
|
BUCKET=$AWS_S3_BUCKET
|
||||||
|
|
||||||
# These are the 2 keys we've used to sign the deb's
|
# These are the 2 keys we've used to sign the deb's
|
||||||
|
|
Loading…
Add table
Reference in a new issue