Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webtools Releng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
webtools
Releng
Webtools Releng
Commits
5ab9cb74
Commit
5ab9cb74
authored
17 years ago
by
david_williams
Browse files
Options
Downloads
Patches
Plain Diff
small improvement
parent
54af0813
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.eclipse.wtp.releng.webupdatesite/build-home/copyToRelease-code.sh
+18
-10
18 additions, 10 deletions
...wtp.releng.webupdatesite/build-home/copyToRelease-code.sh
with
18 additions
and
10 deletions
org.eclipse.wtp.releng.webupdatesite/build-home/copyToRelease-code.sh
+
18
−
10
View file @
5ab9cb74
...
...
@@ -2,6 +2,9 @@
# script to copy update jars from their staging area to the releases area
if
[
-z
"
${
1
}
"
]
then
...
...
@@ -12,12 +15,7 @@ echo " where <stream> is one of Europa, Callisto"
echo
""
exit
if
[
"
${
2
}
"
!=
"-doit"
]
;
then
echo
" This is a dry run. Add -doit to actually remove"
doit
=
"--dry-run"
else
doit
=
""
fi
elif
[
"
${
1
}
"
=
"Europa"
]
...
...
@@ -39,17 +37,27 @@ else
exit
fi
if
[
"
${
2
}
"
!=
"-doit"
]
;
then
echo
""
echo
" This is a dry run. Add -doit to actually copy"
echo
""
doit
=
"--dry-run"
else
doit
=
""
fi
echo
""
echo
" Copying new plugins and features "
echo
" from
${
fromDir
}
"
echo
" to
${
toDir
}
"
echo
""
rsync
$doit
--ignore-existing
-rv
${
fromDir
}
/features
${
toDir
}
rsync
$doit
--ignore-existing
-rv
${
fromDir
}
/plugins
${
toDir
}
rsync
$
{
doit
}
--ignore-existing
-rv
${
fromDir
}
/features
${
toDir
}
rsync
$
{
doit
}
--ignore-existing
-rv
${
fromDir
}
/plugins
${
toDir
}
if
[
"
$doit
"
=
"--dry-run"
]
;
then
echo
" This was a dry run. Add -doit to actually
remove
"
if
[
"
$
{
doit
}
"
=
"--dry-run"
]
;
then
echo
" This was a dry run. Add -doit to actually
copy
"
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment