aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ipkg
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-02-01 23:53:19 +0000
committerMike Baker <mbm@openwrt.org>2006-02-01 23:53:19 +0000
commite0af0a4eb8fe94c5b9eb3baf074fdcf5183c10d0 (patch)
treee4befa0d3bc81d1997e84c21273ee358620f6be0 /scripts/ipkg
parent8966d3e9406a91e923a5565a3c6342050965fc0b (diff)
downloadupstream-e0af0a4eb8fe94c5b9eb3baf074fdcf5183c10d0.tar.gz
upstream-e0af0a4eb8fe94c5b9eb3baf074fdcf5183c10d0.tar.bz2
upstream-e0af0a4eb8fe94c5b9eb3baf074fdcf5183c10d0.zip
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 6cd1cb440a..7ceaeff69c 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