Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
e0c03558
Commit
e0c03558
authored
4 years ago
by
Jafar Lie
Browse files
Options
Downloads
Patches
Plain Diff
added check_scratch_dir.nhc
parent
bc3c27a3
No related branches found
No related tags found
4 merge requests
!378
Yumansiblepackage
,
!377
cloudinit
,
!348
24june
,
!345
Generate xorg local
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/nhc/files/scripts/check_scratch_dir.nhc
+14
-0
14 additions, 0 deletions
roles/nhc/files/scripts/check_scratch_dir.nhc
with
14 additions
and
0 deletions
roles/nhc/files/scripts/check_scratch_dir.nhc
0 → 100644
+
14
−
0
View file @
e0c03558
#!/bin/bash
function
check_scratch_dir
()
{
SCRATCH
=
"/scratch"
if
[[
!
-d
$SCRATCH
]]
then
echo
"Scratch Directory Does't Exists"
die 1
"
$FUNCNAME
ERROR Scratch Directory Does't Exists"
fi
return
0
}
This diff is collapsed.
Click to expand it.
Jafar Lie
@jlie0003
mentioned in commit
185f59e9
·
4 years ago
mentioned in commit
185f59e9
mentioned in commit 185f59e91109cb5ecdf69067d889120bb82b319f
Toggle commit list
Andreas Hamacher
@handreas
mentioned in commit
2613da8b
·
4 years ago
mentioned in commit
2613da8b
mentioned in commit 2613da8b1db4c04678dfe188460553fcbbccfa42
Toggle commit list
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