1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/bugsquish/fix-chown-syntax.patch
mio 8eb3dad635 community/bugsquish: fix build to use supported chown syntax
Fix build error due to removed chown `user.group` syntax.
2024-10-24 15:08:04 +00:00

21 lines
581 B
Diff

Replace `user.group` chown syntax with `user:group`
The former is no longer supported by busybox chown as of 1.37.0.
GNU coreutils also issues a warning on its use.
--- a/Makefile
+++ b/Makefile
@@ -41,11 +41,11 @@
install:
mkdir -p $(DATA_PREFIX)
cp -r data/* $(DATA_PREFIX)
- chown -R root.root $(DATA_PREFIX)
+ chown -R root:root $(DATA_PREFIX)
chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
mkdir -p $(BIN_PREFIX)
cp bugsquish $(BIN_PREFIX)
- chown root.root $(BIN_PREFIX)/bugsquish
+ chown root:root $(BIN_PREFIX)/bugsquish
chmod a+rx,g-w,o-w $(BIN_PREFIX)/bugsquish