mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
pkg.sh: Failure to upload is not fatal any more
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
b1c9e7dff9
commit
360c7bca39
1 changed files with 4 additions and 1 deletions
|
|
@ -490,7 +490,10 @@ upload_file()
|
|||
{
|
||||
local f="$1"
|
||||
local t="$2"
|
||||
[ -f $DIST_PCKG_DIR/$f ] || fatal "+ $DIST_PCKG_DIR/$f doesn't exit, can't upload"
|
||||
[ -f $DIST_PCKG_DIR/$f ] || {
|
||||
"+ $DIST_PCKG_DIR/$f doesn't exit, can't upload"
|
||||
return 1
|
||||
}
|
||||
local os_name=`os | sed 's/-.*//'`
|
||||
local os_version=`os | sed 's/[^-]\+-//'`
|
||||
local target_base=rsync_ssh://root@ftp.jannet.de:/srv/ftp/pub/packages/linux/$os_name/$os_version/inst-source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue