Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
52d6b450
Commit
52d6b450
authored
Jan 05, 2001
by
Leigh B. Stoller
Browse files
Minor fix to order of precedence in directory check expression.
(I was in /proj and being told I was not).
parent
1b1912a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
security/plasticwrap
View file @
52d6b450
...
...
@@ -19,7 +19,7 @@ $identity = "-i $ENV{HOME}/.ssh/identity";
$cwd
=
$ENV
{
PWD
};
# We only want to actually change to $CWD if it will actually
# be accesible on the other machine - if it's in /users or /proj
if
(
!
(
$cwd
=~
qr|/users|
)
||
(
$cwd
=~
qr|/proj|
))
{
if
(
!
(
$cwd
=~
qr|/users|
)
&&
!
(
$cwd
=~
qr|/proj|
))
{
warn
"
In order to make sure that this command has access to any
\n
";
warn
"
files it may need to read, please change directories into
\n
";
warn
"
your home directory (in /users/) or your project directory
\n
";
...
...
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