Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cresson Remi
LSGRM
Commits
8adb0e7c
Commit
8adb0e7c
authored
Mar 17, 2017
by
remi cresson
Browse files
ENH: no tmpdir check when tmpdir parameter is empty
parent
4b5effd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/otbLSGRM.cxx
View file @
8adb0e7c
...
...
@@ -143,14 +143,15 @@ private:
// If not, we add the separator
tmpdir
.
append
(
"/"
);
}
}
// Check that the directory exists
if
(
!
itksys
::
SystemTools
::
FileExists
(
tmpdir
.
c_str
(),
false
))
{
otbAppLogFATAL
(
"The directory "
<<
tmpdir
<<
" does not exist."
);
// Check that the directory exists
if
(
!
itksys
::
SystemTools
::
FileExists
(
tmpdir
.
c_str
(),
false
))
{
otbAppLogFATAL
(
"The directory "
<<
tmpdir
<<
" does not exist."
);
}
otbAppLogINFO
(
"Using temporary directory "
<<
tmpdir
);
}
otbAppLogINFO
(
"Using temporary directory "
<<
tmpdir
);
// Return the prefix
std
::
string
prefix
=
tmpdir
+
outbfname
;
...
...
Write
Preview
Markdown
is supported
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