summaryrefslogtreecommitdiffstats
path: root/scripts/ipkg
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 23:53:19 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 23:53:19 +0000
commit82daa5e9c007b2a16aa9e8c5526fd8d034ee4541 (patch)
treee4befa0d3bc81d1997e84c21273ee358620f6be0 /scripts/ipkg
parent30ee8b09baf1f268b73e201f5c35f54e1ba6dfb9 (diff)
change cp to $(CP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/ipkg')
-rwxr-xr-xscripts/ipkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ipkg b/scripts/ipkg
index 6cd1cb440..7ceaeff69 100755
--- a/scripts/ipkg
+++ b/scripts/ipkg
@@ -787,7 +787,7 @@ ipkg_install_file_dest() {
echo "Package: $pkg
Status: install ok pending" | ipkg_status_update_sd $sd $pkg
mkdir -p $IPKG_PENDING_DIR
- cp $filename $IPKG_PENDING_DIR
+ cp -f $filename $IPKG_PENDING_DIR
rm -r $IPKG_TMP/$pkg/control
rm -r $IPKG_TMP/$pkg/data
rmdir $IPKG_TMP/$pkg