diff --git a/sc2/src/sc2code/libs/file/temp.c b/sc2/src/sc2code/libs/file/temp.c index 6c3fb82e4..95d59e6de 100644 --- a/sc2/src/sc2code/libs/file/temp.c +++ b/sc2/src/sc2code/libs/file/temp.c @@ -123,7 +123,7 @@ mountTempDir(const char *name) { return -1; } - tempDir = uio_openDir (repository, "/tmp/", 0); + tempDir = uio_openDir (repository, "/tmp", 0); if (tempDir == NULL) { int saveErrno = errno; fprintf (stderr, "Fatal error: Could not open temp dir: %s\n",