build-style/gemspec.sh: remove usage of dirname

This commit is contained in:
maxice8 2019-04-13 17:42:15 -03:00 committed by maxice8
parent a540dc2247
commit 7708dac69e

View File

@ -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