Projects
Eulaceura:Mainline:GA
obs-server
_service:obs_scm:obs_project_update-should-tell...
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:obs_project_update-should-tell-the-usage-but-not-hung-still.patch of Package obs-server
From 29a123a92e31dbdc137e94428323c75d7a0c215b Mon Sep 17 00:00:00 2001 From: si-gui <sunguoshuai@huawei.com> Date: Thu, 17 Jun 2021 16:34:05 +0800 Subject: [PATCH] obs_project_update should tell the usage but not hung still --- dist/obs_project_update | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dist/obs_project_update b/dist/obs_project_update index 07c8233..1da43ce 100755 --- a/dist/obs_project_update +++ b/dist/obs_project_update @@ -17,6 +17,10 @@ # $ echo "kiwi deb" | obs_project_update -u https://api.opensuse.org OBS:Server:2.4 https://api.yourdomain.ext OBS:Server:2.4 # usage="usage: $0 {-e | -u} <source obs> <source project> <target obs> <target project> [listfile]" +if [ $# -lt 5 ];then + echo $usage + exit 1 +fi srcexpand='-e' dstexpand='-u' -- 2.30.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2