build-style/gemspec.sh: remove usage of dirname
This commit is contained in:
parent
a540dc2247
commit
7708dac69e
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ do_install() {
|
||||||
# Place conf files in their places
|
# Place conf files in their places
|
||||||
if [ -d ${_INSTDIR}/etc ]; then
|
if [ -d ${_INSTDIR}/etc ]; then
|
||||||
find ${_INSTDIR}/etc -type f | while read -r c; do
|
find ${_INSTDIR}/etc -type f | while read -r c; do
|
||||||
vmkdir $(dirname ${c})
|
vmkdir ${c%/*}/
|
||||||
mv ${c} "${DESTDIR}/${c##*${_INSTDIR}/etc/}/"
|
mv ${c} "${DESTDIR}/${c##*${_INSTDIR}/etc/}/"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue