forked from kiss-community/repo
11 lines
211 B
Bash
Executable File
11 lines
211 B
Bash
Executable File
#!/bin/sh -ef
|
|
|
|
mkdir -p "$1/usr/bin"
|
|
|
|
cp -R etc "$1"
|
|
cp -R lib "$1/usr/lib"
|
|
|
|
# Disable warning as CFLAGS must work this way.
|
|
# shellcheck disable=2086
|
|
"${CC:-cc}" -o "$1/usr/bin/kpow" bin/kpow.c $CFLAGS -static
|