summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/buildroot_default.spec
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-08 09:31:03 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 17:50:36 +0200
commit166471753c218266697f88a521eb1a042523cb1d (patch)
tree4bd16e9d105a7314698450470d5101281a6eb3d9 /t/data/SPECS/buildroot_default.spec
parentfb259d8223f79c37e8024d70f144ed612be4b74e (diff)
downloadurpmi-166471753c218266697f88a521eb1a042523cb1d.tar
urpmi-166471753c218266697f88a521eb1a042523cb1d.tar.gz
urpmi-166471753c218266697f88a521eb1a042523cb1d.tar.bz2
urpmi-166471753c218266697f88a521eb1a042523cb1d.tar.xz
urpmi-166471753c218266697f88a521eb1a042523cb1d.zip
cpan-testers: fix building rpms on FreeBSD
install do not have -d option on FreeBSD
Diffstat (limited to 't/data/SPECS/buildroot_default.spec')
-rw-r--r--t/data/SPECS/buildroot_default.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/data/SPECS/buildroot_default.spec b/t/data/SPECS/buildroot_default.spec
index f5d5695c..33cfc763 100644
--- a/t/data/SPECS/buildroot_default.spec
+++ b/t/data/SPECS/buildroot_default.spec
@@ -26,7 +26,7 @@ wanted=$(echo %{_buildrootdir}/buildroot-1-1.%{_arch} | sed 's!//!/!')
[ "$RPM_BUILD_ROOT" = $wanted ] || { echo "RPM_BUILD_ROOT should be $wanted instead of $RPM_BUILD_ROOT"; exit 1; }
[ "%macro_using_buildroot" = $wanted ] || { echo "macro_using_buildroot should be $wanted instead of %buildroot"; exit 1; }
-install -d $RPM_BUILD_ROOT/etc
+mkdir -p $RPM_BUILD_ROOT/etc
echo foo > $RPM_BUILD_ROOT/etc/foo
%files