mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
3156eabc27
PR: ports/162928 Submitted by: Jr Aquino <tanawts@gmail.com> (maintainer)
21 lines
669 B
C
21 lines
669 B
C
$FreeBSD$
|
|
|
|
--- src/ircd.c 2011-11-05 02:25:24.000000000 -0700
|
|
+++ src/ircd.c 2011-11-28 10:21:38.000000000 -0800
|
|
@@ -1407,12 +1407,12 @@
|
|
}
|
|
#endif
|
|
#ifndef _WIN32
|
|
- mkdir("tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
|
|
+ mkdir("%%RUNDIR%%/tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
|
|
#if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE)
|
|
mkdir("cache", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the cache dir, if using curl and it doesn't exist */
|
|
#endif
|
|
#else
|
|
- mkdir("tmp");
|
|
+ mkdir("%%RUNDIR%%/tmp");
|
|
#if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE)
|
|
mkdir("cache");
|
|
#endif
|
|
|