aboutsummaryrefslogtreecommitdiff
blob: 7e6bde650acc11910f47c89c157bc66308053997 (plain)
1
2
3
4
5
6
#!/bin/sh
# shell scripts only get properly wrapped if our native shell is the
# same abi as the compiled libsandbox #259244
sh=$(scanelf -BF'%M#F' /bin/sh)
sb=$(scanelf -BF'%M#F' "${abs_top_builddir}"/libsandbox/.libs/libsandbox.so)
[ "${sh}" = "${sb}" ] && exit 0 || exit 77