2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 12:10:12 -07:00
repo/core/baseinit/build
2020-02-05 12:14:43 +02:00

11 lines
212 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:-gcc}" -o "$1/usr/bin/kpow" bin/kpow.c $CFLAGS -static