Skip to content
Snippets Groups Projects
Commit 2b1c5204 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

added TODO for path verification

parent bdc58b42
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment