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 General Discussion

 
 
LinkBack Thread Tools
 
Old 09-15-2010, 11:36 PM
Florian Pritz
 
Default commitpkg: error out if ~/staging/$repo doesn't exist

Signed-off-by: Florian Pritz <bluewind@xssn.at>
---
commitpkg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/commitpkg b/commitpkg
index 03488e0..86485dc 100755
--- a/commitpkg
+++ b/commitpkg
@@ -119,7 +119,7 @@ for _arch in ${arch[@]}; do
fi

echo -n 'uploading '
- rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "${pkgfile}" -e ssh $server:staging/$repo || abort
+ rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts --partial "${pkgfile}" -e ssh "$server:staging/$repo/$pkgfile" || abort
done
archrelease $repo-${_arch} || abort
done
--
1.7.2.3
 

Thread Tools




All times are GMT. The time now is 08:29 AM.

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