Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
涛羊羊队
la-seL4-CAmkES-L4v-dockerfiles
Commits
ffece565
Commit
ffece565
authored
4 years ago
by
Luke Mondy
Browse files
Options
Download
Patches
Plain Diff
Fix linting error
Signed-off-by:
Luke Mondy
<
luke.mondy@data61.csiro.au
>
parent
a9bb8af7
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/l4v.sh
+2
-1
scripts/l4v.sh
scripts/utils/user.sh
+3
-3
scripts/utils/user.sh
with
5 additions
and
4 deletions
+5
-4
scripts/l4v.sh
+
2
−
1
View file @
ffece565
...
...
@@ -79,7 +79,8 @@ if [ "$MAKE_CACHES" = "yes" ] ; then
popd
# We need to fetch some additional components, so that both Isabelle2019 and 2020 have cached dependencies.
ISABELLE_COMPONENT_REPOSITORY
=
$(
set
+u
;
source
$ISABELLE_SETTINGS_LOCATION
;
echo
"
$ISABELLE_COMPONENT_REPOSITORY
"
)
# shellcheck disable=SC1090
ISABELLE_COMPONENT_REPOSITORY
=
$(
set
+u
;
source
"
$ISABELLE_SETTINGS_LOCATION
"
;
echo
"
$ISABELLE_COMPONENT_REPOSITORY
"
)
pushd
~/.isabelle/contrib
for
package
in
"csdp-6.x"
\
"e-2.0-2"
\
...
...
This diff is collapsed.
Click to expand it.
scripts/utils/user.sh
+
3
−
3
View file @
ffece565
...
...
@@ -23,9 +23,8 @@ set -exuo pipefail
groupadd
-fg
"
${
GID
}
"
"
${
GROUP
}
"
||
true
groupmod
-g
"
${
GID
}
"
"
${
GROUP
}
"
||
true
group_info
=
$(
getent group
"
$GROUP
"
)
group_info
=(
${
group_info
//
:/
}
)
# Split the group info into an array
IFS
=
":"
read
-r
-a
group_info
<<<
"
$(
getent group
"
$GROUP
"
)
"
fgroup
=
"
${
group_info
[0]
}
"
fgid
=
"
${
group_info
[2]
}
"
...
...
@@ -85,6 +84,7 @@ EOF
mkdir
"/home/
${
UNAME
}
"
# Put in some branding
# shellcheck disable=SC2129
cat
<<
EOF
>> "/home/
${
UNAME
}
/.bashrc"
echo '___ '
echo ' | _ _ |_ _ _ |_ |_ '
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets