Skip to content
Snippets Groups Projects
Commit 002543f8 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

build: fixed lua embedding on NetBSD

thanks to johan ihren
parent 7c47ead6
Branches
Tags
No related merge requests found
#!/bin/sh
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
else
hexdump -v -e '/1 "0x%02X, " " "' < $1 | strip
fi
exit $?
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