Projects
Eulaceura:Factory
openresty-openssl
_service:obs_scm:0099-copy-dir.sh.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0099-copy-dir.sh.patch of Package openresty-openssl
From 8d777d20ac3d82434c3f1cbd9cdee94c4de8f966 Mon Sep 17 00:00:00 2001 From: fu_changjie <fu_changjie@qq.com> Date: Fri, 11 Dec 2020 10:28:08 +0800 Subject: [PATCH] copy-dir.sh --- copy-dir.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 copy-dir.sh diff --git a/copy-dir.sh b/copy-dir.sh new file mode 100755 index 0000000..b5520d5 --- /dev/null +++ b/copy-dir.sh @@ -0,0 +1,19 @@ +dirname=$(basename `pwd`) +time=$(date +%s) + +cd .. + +if [[ -f 'asan' || -d 'asan' ]]; then + mv asan asan-${time} +fi + +if [[ -f 'debug' || -d 'debug' ]]; then + mv debug debug-${time} +fi + +cp -a ${dirname} asan +cp -a ${dirname} debug + +mv asan debug ${dirname} + +cd - -- 2.27.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