Commit 002543f8 authored by Marek Vavruša's avatar Marek Vavruša

build: fixed lua embedding on NetBSD

thanks to johan ihren
parent 7c47ead6
set -e
alias strip="sed -e 's/^[ ]*//g; s/[ ][ ]*/ /g; /^--/d; /^$/d'"
if hash xxd 2>/dev/null; then
if command -v xxd > /dev/null 2>&1; then
xxd -i - < $1 | strip
hexdump -v -e '/1 "0x%02X, " " "' < $1 | strip
exit $?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment