[anyterm] create intermediate directories in buildroot
abo
abo at fedoraproject.org
Fri Jun 1 22:19:24 UTC 2012
commit e68149e3554b54838167eca6fc0b00cdb68d4018
Author: Alexander Boström <abo at root.snowtree.se>
Date: Fri Jun 1 23:07:49 2012 +0200
create intermediate directories in buildroot
anyterm.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/anyterm.spec b/anyterm.spec
index 81e0e2f..eed0830 100644
--- a/anyterm.spec
+++ b/anyterm.spec
@@ -75,7 +75,7 @@ for f in browser/*.{html,css,js,png,gif}; do
done
# Create a home directory for the user.
-%{__mkdir} -m755 %{buildroot}%{_localstatedir}/run/%{name}
+%{__mkdir} -p -m755 %{buildroot}%{_localstatedir}/run/%{name}
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
cat <<EOF > %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
d %{_localstatedir}/run/%{name} 0755 root %{name}
More information about the scm-commits
mailing list