aboutsummaryrefslogtreecommitdiffstats
path: root/news/cnews/files/patch-mkdirs
blob: 7af0ec163667ac2e113ef94037b66e2ec7d821fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- conf/mkdirs.orig    1993-07-11 05:10:40.000000000 +0200
+++ conf/mkdirs 2013-12-18 11:18:16.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 for d
 do
-   if test ! -d "$d"
+   if test ! -d "${DESTDIR}$d"
    then
-       mkdir "$d" || exit 1
+       mkdir "${DESTDIR}$d" || exit 1
    fi
 done
 exit 0