FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 03-10-2010, 08:31 PM
Ghost1227
 
Default mv errors on some packages, switch to rsync

---
makechrootpkg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/makechrootpkg b/makechrootpkg
index c1e78d9..fa28fa5 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -232,9 +232,9 @@ fi
for f in "${copydir}"/srcdest/*; do
[ -e "$f" ] || continue
if [ -d "$SRCDEST" ]; then
- mv "$f" "${SRCDEST}"
+ rsync -qr "$f" "${SRCDEST}"
else
- mv "$f" "${WORKDIR}"
+ rsync -qr "$f" "${WORKDIR}"
fi
done

--
1.7.0.2
 

Thread Tools




All times are GMT. The time now is 07:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org