Small change

git-svn-id: svn://kolibrios.org@1618 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov ( 2010-09-14 03:54:21 +00:00
parent 68f2a658c0
commit 1362808317

View File

@ -1,9 +1,20 @@
#!/bin/bash #!/bin/bash
# This script does for Linux the same as build.bat for DOS, # This script does for Linux the same as build.bat for DOS,
# it compiles the current KolibriOS applications # it compiles the current KolibriOS applications
OutDir=bin
FileName=box_lib.obj
OutFile=$OutDir/$FileName
mkdir bin if [ -d "$OutDir" ]; then
fasm -m 16384 box_lib.asm ./bin/box_lib.obj if [ -e "$OutFile" ]; then
echo " >>>> rm -f $OutFile delete old version"
rm -f $OutFile
fi
else
echo "mkdir $OutDir"
mkdir $OutDir
fi
fasm -m 16384 box_lib.asm $OutFile
exit 0 exit 0