Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
forge001
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Gerhard Gonter
forge001
Commits
2b1c5204
Commit
2b1c5204
authored
8 years ago
by
Gerhard Gonter
Browse files
Options
Downloads
Patches
Plain Diff
added TODO for path verification
parent
bdc58b42
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
textarchive/vlib001.pl
+3
-0
3 additions, 0 deletions
textarchive/vlib001.pl
with
3 additions
and
0 deletions
textarchive/vlib001.pl
+
3
−
0
View file @
2b1c5204
...
...
@@ -165,6 +165,9 @@ $DEBUG= 1;
print
"
path=[
$path
]
\n
";
my
$res
=
chdir
(
$path
)
or
event_die
("
can not change to
$path
");;
print
"
res=[
$res
]
\n
";
# verify if the chdir really lead to the expected place
# TODO: there might be symlinked paths or something like that, so this should pssibly not always fail
my
$pwd
=
`
pwd
`;
chop
(
$pwd
);
print
"
pwd=[
$pwd
]
\n
";
event_die
("
chdir failed strangely path=[
$path
] pwd=[
$pwd
]
")
unless
(
$pwd
eq
$path
);
...
...
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