forked from KolibriOS/kolibrios
fix pigex
git-svn-id: svn://kolibrios.org@7588 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
99e8249f49
commit
4e47ada922
@ -12,9 +12,10 @@
|
|||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
CreateDir("/tmp0/1/pig");
|
||||||
|
|
||||||
if (! file_exists("/tmp0/1/pig/pig")) {
|
if (! file_exists("/tmp0/1/pig/pig")) {
|
||||||
RunProgram("/sys/UNZ", "-o \"/tmp0/1\" -h \"/kolibrios/games/pig/pig.zip\"");
|
RunProgram("/sys/UNZ", "-o \"/tmp0/1/pig\" -h \"/kolibrios/games/pig/pig.zip\"");
|
||||||
for (i = 0; i < 200; i++)
|
for (i = 0; i < 200; i++)
|
||||||
{
|
{
|
||||||
if (CheckProcessExists("UNZ")==false) break;
|
if (CheckProcessExists("UNZ")==false) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user