forked from KolibriOS/kolibrios
Added file for build configuration in linux.
git-svn-id: svn://kolibrios.org@8074 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1b1d26ad4f
commit
222b17122b
29
programs/system/shell/configure
vendored
Executable file
29
programs/system/shell/configure
vendored
Executable file
@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
make_gen()
|
||||
{
|
||||
cat .makefile >> makefile
|
||||
}
|
||||
|
||||
if [[ $1 == "-rus" && $# == 1 ]]
|
||||
then
|
||||
echo "Russian language selected!"
|
||||
echo "#define LANG_RUS 1" > lang.h
|
||||
echo "DIR=bin/rus" > makefile
|
||||
make_gen
|
||||
exit 0
|
||||
elif [[ $1 == "-eng" && $# == 1 ]]
|
||||
then
|
||||
echo "English language selected!"
|
||||
echo "#define LANG_ENG 1" > lang.h
|
||||
echo "DIR=bin/eng" > makefile
|
||||
make_gen
|
||||
exit 0
|
||||
else
|
||||
echo "Reference: ./configure <lang>
|
||||
Languages:
|
||||
-rus - Configure as Russian
|
||||
-eng - Configure as English"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user