summaryrefslogtreecommitdiff
path: root/installer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'installer.cpp')
-rw-r--r--installer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/installer.cpp b/installer.cpp
index ac71396c..90cc8c05 100644
--- a/installer.cpp
+++ b/installer.cpp
@@ -211,17 +211,17 @@ int main(int argc,char **argv)
#ifdef __APPLE__
// Write tap.kext into home folder
- sprintf(buf,"%s/tap.kext");
+ sprintf(buf,"%s/tap.kext",zthome);
mkdir(buf,0755);
chmod(buf,0755);
chown(buf,0,0);
printf("mkdir %s\n",buf);
- sprintf(buf,"%s/tap.kext/Contents");
+ sprintf(buf,"%s/tap.kext/Contents",zthome);
mkdir(buf,0755);
chmod(buf,0755);
chown(buf,0,0);
printf("mkdir %s\n",buf);
- sprintf(buf,"%s/tap.kext/Contents/MacOS");
+ sprintf(buf,"%s/tap.kext/Contents/MacOS",zthome);
mkdir(buf,0755);
chmod(buf,0755);
chown(buf,0,0);