diff --git a/programs/cmm/examples/pigex.c b/programs/cmm/examples/pigex.c index 14c2b6c6ce..642522b235 100644 --- a/programs/cmm/examples/pigex.c +++ b/programs/cmm/examples/pigex.c @@ -12,9 +12,10 @@ void main() { int i; + CreateDir("/tmp0/1/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++) { if (CheckProcessExists("UNZ")==false) break;