- local soft_link="${iso_version}-dailybuild"
- cd "${ROOTFS_LOCAL_PATH}" &&
rm -f "${soft_link}" &&
ln -s "$(basename "${ROOTFS_DES_DIR}")" "${soft_link}"
local soft_link="${iso_version}-dailybuild"
cd "${ROOTFS_LOCAL_PATH}" &&
rm -f "${soft_link}" &&
ln -s "$(basename "${ROOTFS_DES_DIR}")" "${soft_link}"
Here can use to replace "rm -f" + "ln -s" ln -sfT "$(basename "${ROOTFS_DES_DIR}")" "${soft_link}"
Good point!
-------- Thanks Yu Chuan
Thanks, Xijian