Skip to content

Commit 4117055

Browse files
dankegeldeadprogram
authored andcommitted
Makefile: chmod before fpm. For #2685
1 parent 603fff7 commit 4117055

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,4 +693,7 @@ deb: build/release
693693
@mkdir -p build/release-deb/usr/local/lib
694694
cp -ar build/release/tinygo build/release-deb/usr/local/lib/tinygo
695695
ln -sf ../lib/tinygo/bin/tinygo build/release-deb/usr/local/bin/tinygo
696+
echo "Work around bad permissions set by tinygo build-library?"
697+
find build/release-deb -type d -exec chmod +rx '{}' ';'
698+
find build/release-deb -type f -exec chmod +r '{}' ';'
696699
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

0 commit comments

Comments
 (0)