aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vpopmail/vpopmail-5.4.9-access.violation.patch
blob: 9c450cbfa00f1dda444b91ed731abae787b0d424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/configure.in	2004-06-30 22:11:08.000000000 -0700
+++ b/configure.in	2004-08-22 16:45:36.279473008 -0700
@@ -463,16 +463,16 @@
   if test ! -d $vpopmaildir
   then
     AC_MSG_WARN( creating $vpopmaildir )
-    mkdir -p $vpopmaildir
-    chown $vpopmailuid $vpopmaildir
-    chgrp $vpopmailgid $vpopmaildir
-    chmod 755 $vpopmaildir
+    mkdir -p "$pkgdir"/$vpopmaildir
+    chown $vpopmailuid "$pkgdir"/$vpopmaildir
+    chgrp $vpopmailgid "$pkgdir"/$vpopmaildir
+    chmod 755 "$pkgdir"/$vpopmaildir
   fi
   AC_MSG_WARN( making a vpopmail etc directory )
-  mkdir $vpopmaildir/etc
-  chown $vpopmailuid "$vpopmaildir"/etc
-  chgrp $vpopmailgid "$vpopmaildir"/etc
-  chmod 755 "$vpopmaildir"/etc
+  mkdir "$pkgdir"/$vpopmaildir/etc
+  chown $vpopmailuid "$pkgdir"/$vpopmaildir/etc
+  chgrp $vpopmailgid "$pkgdir"/$vpopmaildir/etc
+  chmod 755 "$pkgdir"/$vpopmaildir/etc
 fi
 
 #----------------------------------------------------------------------