1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-12-11 11:35:39 -05:00
kernel/configure

17 lines
209 B
Text
Raw Normal View History

2017-11-04 02:51:56 -04:00
#!/bin/sh -e
2017-11-04 03:00:44 -04:00
ENV="$1"
if [ -z "$ENV" ]; then
ENV='build'
fi
CONFIG="env/$ENV.mk"
if [ ! -f "$CONFIG" ]; then
echo >&2 "ERROR: file "$CONFIG" does not exist"
exit 1
fi
cp "$CONFIG" 'config.mk'