build-style/gemspec.sh: remove usage of dirname
This commit is contained in:
parent
a540dc2247
commit
7708dac69e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user