mirror of
https://github.com/xomboverlord/xomb-bare-bones.git
synced 2026-01-11 18:33:15 +01:00
Use any one of these: ./configure x86_64 ./configure x86 While in the build directory. Signed-off-by: The XOmB Overlord <overlord@xomb.net>
23 lines
328 B
Bash
Executable File
23 lines
328 B
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
render_usage()
|
|
{
|
|
echo "USAGE: ./configure --target=[TARGET]"
|
|
echo ""
|
|
echo "TARGET - one of the following values: "
|
|
for item in confs/*.conf;
|
|
do
|
|
echo "$item" | sed -e 's/confs\/\(.*\)\.conf/\1/';
|
|
done
|
|
}
|
|
|
|
if [ $# -ne 1 ]
|
|
then
|
|
render_usage
|
|
else
|
|
FILE=confs/$1.conf
|
|
echo "Targetting $1"
|
|
cp $FILE dsss.conf
|
|
fi
|