commit 8aa2429fb43b961fe5e645d47c8d37bafe55faf8
parent ecafed5cb9966539dc284041aec6b43486c6495c
Author: St John Karp <contact@stjo.hn>
Date: Thu, 23 Jun 2022 06:17:01 -0400
svc: Don't use a path with both a variable and an asterisk
Not entirely sure why but quoted strings with both a variable and
an asterisk don't seem to get expanded the way I'd expect. As with
a previous fix to otf-hermit, I've just put the asterisk outside
the quotes.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/svc/build b/core/svc/build
@@ -22,7 +22,7 @@ touch "$1/usr/bin/svc.d/avail/pcscd"
touch "$1/usr/bin/svc.d/avail/sdhcp"
touch "$1/usr/bin/svc.d/avail/seatd"
touch "$1/usr/bin/svc.d/avail/wpa_supplicant"
-chmod +x "$1/usr/bin/svc.d/avail/*"
+chmod +x "$1/usr/bin/svc.d/avail"/*
# Install the license
install -m 755 -D LICENSE "$1/usr/share/LICENSES/svc.license"