[arch-general] [PATCH] commitpkg: error out if ~/staging/$repo doesn't exist

Pierre Schmitz pierre at archlinux.de
Thu Sep 16 00:16:27 EDT 2010


On Thu, 16 Sep 2010 01:36:53 +0200, Florian Pritz <bluewind at xssn.at>
wrote:
> Signed-off-by: Florian Pritz <bluewind at 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

Applied, thanks. Please cc me when sending patches; otherwise they
might just get lost.

Greetings,

Pierre

-- 
Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-general mailing list