Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion build-scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,10 @@ macos)
# than in script-header.sh itself, to avoid touching every other
# platform's scriptlets for a need that's specific to this one.
for script in "$SCRIPTSDIR/preinstall" "$SCRIPTSDIR/postinstall" "$STAGE$PREFIX/bin/uninstall-cfengine.sh"; do
{ echo '#!/bin/sh'; cat "$script"; } >"$script.tmp"
{
echo '#!/bin/sh'
cat "$script"
} >"$script.tmp"
mv "$script.tmp" "$script"
chmod +x "$script"
done
Expand Down
Loading