Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-bin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
hpc
hpc-bin
Commits
0c289bbc
Commit
0c289bbc
authored
16 years ago
by
andygill@ku.edu
Browse files
Options
Downloads
Patches
Plain Diff
Fixing directory creation to not create "" directories inside hpc report (harmless but needless)
parent
9fc08227
No related branches found
Branches containing commit
Tags
6_10_branch_has_been_forked
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
HpcMarkup.hs
+3
-1
3 additions, 1 deletion
HpcMarkup.hs
with
3 additions
and
1 deletion
HpcMarkup.hs
+
3
−
1
View file @
0c289bbc
...
...
@@ -17,6 +17,7 @@ import Data.List
import
Data.Maybe
(
fromJust
)
import
Data.Array
import
Data.Monoid
import
Control.Monad
import
qualified
HpcSet
as
Set
------------------------------------------------------------------------------
...
...
@@ -453,7 +454,8 @@ writeFileUsing filename text = do
#
if
__GLASGOW_HASKELL__
>=
604
-- create the dest_dir if needed
createDirectoryIfMissing
True
dest_dir
when
(
not
(
null
dest_dir
))
$
createDirectoryIfMissing
True
dest_dir
#
endif
writeFile
filename
text
...
...
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