summaryrefslogtreecommitdiff
path: root/package/ncftp
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-10-14 21:21:30 +0800
committerPeter Korsgaard <peter@korsgaard.com>2013-10-14 21:59:53 +0200
commiteed2e02fb99f31196df75ec3dadaf80fa68fffe3 (patch)
tree15a07b2f2bfbae60ee2222a79849fa9c84812914 /package/ncftp
parent86e61d20504db0881c495da07a25552d8783bd71 (diff)
ncftp: specify ln -sf to remove existing destination files
This fixes below build error when executing "make ncftp-dirclean; make". ln -s /usr/bin/ncftpbatch /opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler': File exists make: *** [/opt/test/br-x86/buildroot/output/build/ncftp-3.2.5/.stamp_target_installed] Error 1 Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ncftp')
-rw-r--r--package/ncftp/ncftp.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ncftp/ncftp.mk b/package/ncftp/ncftp.mk
index 56d5d474e..03874d159 100644
--- a/package/ncftp/ncftp.mk
+++ b/package/ncftp/ncftp.mk
@@ -26,7 +26,7 @@ endif
ifeq ($(BR2_PACKAGE_NCFTP_BATCH),y)
NCFTP_TARGET_BINS += ncftpbatch
NCFTP_INSTALL_NCFTP_BATCH = \
- ln -s /usr/bin/ncftpbatch $(TARGET_DIR)/usr/bin/ncftpspooler
+ ln -sf /usr/bin/ncftpbatch $(TARGET_DIR)/usr/bin/ncftpspooler
endif
ifeq ($(BR2_PACKAGE_NCFTP_BOOKMARKS),y)