Projects
Eulaceura:Mainline
runc
_service:obs_scm:apply-patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:apply-patch of Package runc
#!/bin/bash # Copyright (c) Huawei Technologies Co., Ltd. 2018-2019. All rights reserved. # Description: This shell script is used to apply patches for the project # Author: jingrui@huawei.com # Create: 2019-03-02 pkg=runc-1.1.8 cwd=$PWD src=$cwd/$pkg tar zxvf v1.1.8.tar.gz if [ ! -d patch ];then tar -xzf patch.tar.gz fi series=$cwd/series.conf while IPF= read -r line do if [[ "$line" =~ ^patch* ]]; then echo patch -p1 $cwd/$line cd $src && patch -p1 < $cwd/$line fi done <"$series" cd $cwd cp -rf $src/* . rm -rf runc-1.1.8
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