wrong path fixed

This commit is contained in:
gzyang 2021-03-27 14:05:56 +08:00
parent 157dfa4532
commit c5643b6216
1 changed files with 2 additions and 2 deletions

View File

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