From c5643b6216c1b5b9c92419015688d442f627cef3 Mon Sep 17 00:00:00 2001 From: gzyang Date: Sat, 27 Mar 2021 14:05:56 +0800 Subject: [PATCH] wrong path fixed --- tools/scripts/make_rootfs/rootfsdir.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/scripts/make_rootfs/rootfsdir.sh b/tools/scripts/make_rootfs/rootfsdir.sh index 89c7d6cf..db6b1ff4 100755 --- a/tools/scripts/make_rootfs/rootfsdir.sh +++ b/tools/scripts/make_rootfs/rootfsdir.sh @@ -39,10 +39,10 @@ ${ROOTFS_DIR}/app ${ROOTFS_DIR}/data ${ROOTFS_DIR}/proc ${ROOTFS_DIR}/dev ${ROOT ${ROOTFS_DIR}/system ${ROOTFS_DIR}/system/internal ${ROOTFS_DIR}/system/external if [ -d "${BIN_DIR}" ] && [ "$(ls -A "${BIN_DIR}")" != "" ]; then cp -f ${BIN_DIR}/* ${ROOTFS_DIR}/bin - if [ -e ${OUT_DIR}/bin/shell ]; then + if [ -e ${BIN_DIR}/shell ]; then cp -f ${BIN_DIR}/shell ${OUT_DIR}/bin/shell fi - if [ -e ${OUT_DIR}/bin/tftp ]; then + if [ -e ${BIN_DIR}/tftp ]; then cp -f ${BIN_DIR}/tftp ${OUT_DIR}/bin/tftp fi fi