Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
sbws
Commits
67bf6916
Commit
67bf6916
authored
Apr 20, 2018
by
Matt Traudt
Browse files
Make callable from any directory
parent
0f2ea046
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/maint/update-website
View file @
67bf6916
...
...
@@ -11,8 +11,8 @@ function fail_hard {
}
make
=
$(
which gmake &>/dev/null
&&
echo
"gmake"
||
echo
"make"
)
venv
=
$(
pwd
)
/venv
sbws_repo
=
"
$1
"
sbws_repo
=
"
$(
realpath
$1
)
"
venv
=
"
$
sbws_repo
/venv
"
[
-d
"
$venv
"
]
||
fail_hard
"
$venv
doesn't exist"
[
!
-z
"
$sbws_repo
"
]
||
fail_hard
"
$0
<sbws_repo>"
...
...
Write
Preview
Supports
Markdown
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