diff --git a/common/build-style/gemspec.sh b/common/build-style/gemspec.sh index b9e6a5f77e..b47ef7b1bc 100644 --- a/common/build-style/gemspec.sh +++ b/common/build-style/gemspec.sh @@ -163,7 +163,7 @@ do_install() { # Place conf files in their places if [ -d ${_INSTDIR}/etc ]; then find ${_INSTDIR}/etc -type f | while read -r c; do - vmkdir $(dirname ${c}) + vmkdir ${c%/*}/ mv ${c} "${DESTDIR}/${c##*${_INSTDIR}/etc/}/" done fi