Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ensembl-gh-mirror
zmap
Commits
2e3cf354
Commit
2e3cf354
authored
15 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
Don't check website target when not webuser
Add cvs update -C to doc dirs
parent
db224cc6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/zmap_update_web.sh
+19
-4
19 additions, 4 deletions
scripts/zmap_update_web.sh
with
19 additions
and
4 deletions
scripts/zmap_update_web.sh
+
19
−
4
View file @
2e3cf354
...
...
@@ -39,9 +39,14 @@ zmap_goto_cvs_module_root
zmap_message_out
"Using
$ZMAP_WEBSITE_TARGET
as website directory."
if
[[
!
-d
$ZMAP_WEBSITE_TARGET
||
!
-r
$ZMAP_WEBSITE_TARGET
||
!
-w
$ZMAP_WEBSITE_TARGET
||
!
-x
$ZMAP_WEBSITE_TARGET
]]
;
then
zmap_message_err
"Directory must exist and be readable/writeable/executable!"
zmap_message_exit
"
$ZMAP_WEBSITE_TARGET
failed on one of these!"
if
[
"x
$USER
"
==
"x
$WEBUSER
"
]
;
then
# we're not testing, pre-releasing documentation
if
[[
!
-d
$ZMAP_WEBSITE_TARGET
||
!
-r
$ZMAP_WEBSITE_TARGET
||
!
-w
$ZMAP_WEBSITE_TARGET
||
!
-x
$ZMAP_WEBSITE_TARGET
]]
;
then
zmap_message_err
"Directory must exist and be readable/writeable/executable!"
zmap_message_exit
"
$ZMAP_WEBSITE_TARGET
failed on one of these!"
fi
else
zmap_message_err
"Not testing direcotry as permissions won't match webuser '
$USER
!=
$WEBUSER
'"
fi
if
[
"x
$ZMAP_MASTER_DOCS2WEB
"
==
"x
$ZMAP_TRUE
"
]
;
then
...
...
@@ -72,7 +77,17 @@ if [ "x$ZMAP_MASTER_DOCS2WEB" == "x$ZMAP_TRUE" ]; then
dir
=
$(
pwd
)
zmap_cd
$this_dir
fi
this_dir
=
$(
pwd
)
zmap_cd
$dir
if
[
-d
CVS
]
;
then
zmap_message_out
"Found '
$dir
/CVS' so cvs update -C
$dir
"
cvs update
-C
else
zmap_message_out
"***
$dir
not under cvs control ***"
fi
zmap_cd
$this_dir
zmap_message_out
"Copying (
$dir
/*) to temporary local target (
$LOCAL_WEBSITE_TARGET
/). "
zmap_message_out
"Files:"
# find $dir/ -mindepth 1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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