mv: `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/gzip-1.4-r3/image/bin/gunzip' and `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/gzip-1.4-r3/image/bin/gunzip' are the same file
Signed-off-by: Graham Gower <graham.gower@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Michael Smith <msmith@cbnco.com>
do_install () {
autotools_do_install
# Move files into /bin (FHS)
- install -d ${D}${base_bindir}
- for file in ${D}${bindir}/*; do
- mv $file ${D}${base_bindir}/
- done
+ if [ "${base_bindir}" != "${bindir}" ]; then
+ install -d ${D}${base_bindir}
+ for file in ${D}${bindir}/*; do
+ mv $file ${D}${base_bindir}/
+ done
+ fi
}
do_install_append_pn-gzip () {