1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2025-04-21 17:42:20 -04:00
kernel/configure
2017-11-08 11:11:31 +00:00

16 lines
207 B
Bash
Executable file

#!/bin/sh -e
ENV="$1"
if [ -z "$ENV" ]; then
ENV='x86'
fi
CONFIG="env/$ENV.mk"
if [ ! -f "$CONFIG" ]; then
echo >&2 "ERROR: file "$CONFIG" does not exist"
exit 1
fi
cp "$CONFIG" 'config.mk'