Skip to content

Commit

Permalink
Merge pull request #349 from dfr/freebsd
Browse files Browse the repository at this point in the history
Use /usr/bin/env to locate bash
  • Loading branch information
rhatdan authored Aug 4, 2022
2 parents 4ca2937 + 636e239 commit 19110c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/seccomp-notify.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#! /usr/bin/env bash
if $(printf '#include <linux/seccomp.h>\nvoid main(){struct seccomp_notif_sizes s;}' | cc -x c - -o /dev/null 2> /dev/null && pkg-config --atleast-version 2.5.0 libseccomp); then
echo "0"
fi

0 comments on commit 19110c9

Please sign in to comment.