mirror of
https://github.com/tailix/kernel.git
synced 2024-11-27 11:24:34 -05:00
16 lines
213 B
Bash
Executable file
16 lines
213 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
ENV="$1"
|
|
|
|
if [ -z "$ENV" ]; then
|
|
ENV='build-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'
|