Dealing with trailing whitespaces
Created a validation that detects all trailing whitespaces from every text file that isn't *.go, *.md, vendor/*, docs/theme/mkdocs/tipuesearch* Removed trailing whitespaces from every text file except from vendor/* builder/parser/testfiles*, docs/theme/mkdocs/tipuesearch* and *.md Signed-off-by: André Martins <martins@noironetworks.com> Upstream-commit: 4e65c1c319afffc325853b88c9aef0c42ec83482 Component: engine
This commit is contained in:
@ -18,17 +18,17 @@ for d in "$CROSS/"*/*; do
|
||||
BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION"
|
||||
mkdir -p "$DEST/$GOOS/$GOARCH"
|
||||
TGZ="$DEST/$GOOS/$GOARCH/$BINARY_NAME.tgz"
|
||||
|
||||
|
||||
mkdir -p "$DEST/build"
|
||||
|
||||
|
||||
mkdir -p "$DEST/build/usr/local/bin"
|
||||
cp -L "$d/$BINARY_FULLNAME" "$DEST/build/usr/local/bin/docker$BINARY_EXTENSION"
|
||||
|
||||
|
||||
tar --numeric-owner --owner 0 -C "$DEST/build" -czf "$TGZ" usr
|
||||
|
||||
|
||||
hash_files "$TGZ"
|
||||
|
||||
|
||||
rm -rf "$DEST/build"
|
||||
|
||||
|
||||
echo "Created tgz: $TGZ"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user