From 7708dac69e746532a77876e81270c2f7f71aec75 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 13 Apr 2019 17:42:15 -0300 Subject: [PATCH] build-style/gemspec.sh: remove usage of dirname --- common/build-style/gemspec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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