Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
com.yit.trace.yittrace-pinpoint-agent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pub
com.yit.trace.yittrace-pinpoint-agent
Commits
23491d64
Commit
23491d64
authored
Jan 09, 2020
by
dengyufu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify download.sh
parent
d199099e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
download.sh
download.sh
+5
-3
No files found.
download.sh
View file @
23491d64
...
...
@@ -6,6 +6,7 @@ DIR=`pwd`
AGENT_DIR
=
"pinpoint-agent"
INIT_ENV_FILE_NAME
=
"init_env"
COPY_INIT_ENV_FILE_NAME
=
"pinpoint_init_env"
function
getFileName
(){
if
[
"
$1
"
==
""
]
;
then
...
...
@@ -28,12 +29,13 @@ function unZipTarFile(){
}
function
copyInitEnvPage
(){
cp
$AGENT_DIR
/script/
$INIT_ENV_FILE_NAME
./
cp
$AGENT_DIR
/script/
$INIT_ENV_FILE_NAME
./
$COPY_INIT_ENV_FILE_NAME
}
function
initEnv
(){
if
[
-f
init_env
]
;
then
$AGENT_DIR
/script/mac_init_env_replay.sh
`
cat
$INIT_ENV_FILE_NAME
`
if
[
-f
$COPY_INIT_ENV_FILE_NAME
]
;
then
$AGENT_DIR
/script/mac_init_env_replay.sh
`
cat
$COPY_INIT_ENV_FILE_NAME
`
rm
-f
$COPY_INIT_ENV_FILE_NAME
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment