nixos/munin: scripts need to be executable in order to build a wrapper
"Builder called die: Cannot wrap /nix/store/XXX-munin-available-plugins/plugin.sh because it is not an executable file" [Bjørn: Keep DRY, quote "$file".]
This commit is contained in:
parent
059d722e5c
commit
e6157451c1
@ -26,7 +26,9 @@ let
|
|||||||
|
|
||||||
for file in $out/*; do
|
for file in $out/*; do
|
||||||
case "$file" in
|
case "$file" in
|
||||||
plugin.sh) continue;;
|
*/plugin.sh|*/plugins.history)
|
||||||
|
chmod +x "$file"
|
||||||
|
continue;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# read magic makers from the file
|
# read magic makers from the file
|
||||||
|
Loading…
Reference in New Issue
Block a user