mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 21:43:40 +00:00
builder: use correct permission bits when creating a library
Previously, the wrong permission bits were emitted by `tinygo build-library`. This commit fixes that, by `chmod`'ing to reasonable default permission bits.
This commit is contained in:
committed by
Ron Evans
parent
320f21524e
commit
7d4bf09b1a
@@ -693,7 +693,4 @@ deb: build/release
|
||||
@mkdir -p build/release-deb/usr/local/lib
|
||||
cp -ar build/release/tinygo build/release-deb/usr/local/lib/tinygo
|
||||
ln -sf ../lib/tinygo/bin/tinygo build/release-deb/usr/local/bin/tinygo
|
||||
echo "Work around bad permissions set by tinygo build-library?"
|
||||
find build/release-deb -type d -exec chmod +rx '{}' ';'
|
||||
find build/release-deb -type f -exec chmod +r '{}' ';'
|
||||
fpm -f -s dir -t deb -n tinygo -v $(shell grep "const Version = " goenv/version.go | awk '{print $$NF}') -m '@tinygo-org' --description='TinyGo is a Go compiler for small places.' --license='BSD 3-Clause' --url=https://tinygo.org/ --deb-changelog CHANGELOG.md -p build/release.deb -C ./build/release-deb
|
||||
|
||||
Reference in New Issue
Block a user