Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
33844506
Commit
33844506
authored
Mar 10, 2015
by
Mike Hibler
Browse files
Fix an RE in slicefix.
parent
82a0cd82
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux-ms/mfs/slicefix
View file @
33844506
...
@@ -268,7 +268,7 @@ dolinux() {
...
@@ -268,7 +268,7 @@ dolinux() {
fixone
()
{
fixone
()
{
echo
"***
${
disk
}${
part
}
:"
echo
"***
${
disk
}${
part
}
:"
ptype
=
`
sgdisk
-p
/dev/
$disk
|
\
ptype
=
`
sgdisk
-p
/dev/
$disk
|
\
sed
-n
"s/^ *
$part
*.*iB *
\(
[0-9A-F][0-9A-F]*
\)
*/
\1
/p"
`
sed
-n
"s/^ *
$part
*.*iB *
\(
[0-9A-F][0-9A-F]*
\)
.
*/
\1
/p"
`
ptype
=
${
ptype
:-
0
}
ptype
=
${
ptype
:-
0
}
case
$ptype
in
case
$ptype
in
...
...
Write
Preview
Supports
Markdown
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