1 |
commit: 9716aae78b821f26f3b820d838cec65d0b73c408 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 11 01:09:20 2015 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 11 01:09:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=9716aae7 |
7 |
|
8 |
Use AC_PROG_MKDIR_P macro/variable instead of "mkdir -p". |
9 |
|
10 |
configure.ac | 1 + |
11 |
src/php.eselect.in | 2 +- |
12 |
2 files changed, 2 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/configure.ac b/configure.ac |
15 |
index d892d13..aa7bf70 100644 |
16 |
--- a/configure.ac |
17 |
+++ b/configure.ac |
18 |
@@ -2,6 +2,7 @@ AC_INIT([eselect-php], [0.8.1]) |
19 |
AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz]) |
20 |
|
21 |
AC_PROG_LN_S |
22 |
+AC_PROG_MKDIR_P |
23 |
AC_PROG_SED |
24 |
AC_PATH_PROG(SORT,sort) |
25 |
AC_PATH_PROG(UNIQ,uniq) |
26 |
|
27 |
diff --git a/src/php.eselect.in b/src/php.eselect.in |
28 |
index aa8ad68..7e918ab 100644 |
29 |
--- a/src/php.eselect.in |
30 |
+++ b/src/php.eselect.in |
31 |
@@ -227,7 +227,7 @@ write_mod_php_conf() { |
32 |
local conf_dir="${EROOT}"/var/lib/eselect-php |
33 |
local conf_path="${conf_dir}/mod_php.conf" |
34 |
|
35 |
- mkdir -p "${conf_dir}" || die "failed to create ${conf_dir}" |
36 |
+ @MKDIR_P@ "${conf_dir}" || die "failed to create ${conf_dir}" |
37 |
|
38 |
# Parse the major version (for example "5" or "7") out of the |
39 |
# target name. |