Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
b1aa0624
Commit
b1aa0624
authored
Dec 31, 2012
by
Natanael Copa
Committed by
Stéphane Graber
Jan 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-alpine: indent fixes
Signed-off-by:
Natanael Copa
<
ncopa@alpinelinux.org
>
Acked-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
8410c485
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
lxc-alpine.in
templates/lxc-alpine.in
+14
-14
No files found.
templates/lxc-alpine.in
View file @
b1aa0624
...
...
@@ -136,41 +136,41 @@ optarg_check() {
default_path
=
@LXCPATH@
while
[
$#
-gt
0
]
;
do
opt
=
"
$1
"
shift
case
"
$opt
"
in
-h
|
--help
)
opt
=
"
$1
"
shift
case
"
$opt
"
in
-h
|
--help
)
usage
exit
0
;;
-n
|
--name
)
-n
|
--name
)
optarg_check
$opt
"
$1
"
name
=
$1
shift
;;
-p
|
--path
)
-p
|
--path
)
optarg_check
$opt
"
$1
"
path
=
$1
shift
;;
--
)
--
)
break
;;
--
*
=
*
)
# split --myopt=foo=bar into --myopt foo=bar
set
--
${
opt
%=*
}
${
opt
#*=
}
"
$@
"
--
*
=
*
)
# split --myopt=foo=bar into --myopt foo=bar
set
--
${
opt
%=*
}
${
opt
#*=
}
"
$@
"
;;
-?
)
-?
)
usage_err
"unknown option '
$opt
'"
;;
-
*
)
-
*
)
# split opts -abc into -a -b -c
set
--
$(
echo
"
${
opt
#-
}
"
|
sed
's/\(.\)/ -\1/g'
)
"
$@
"
;;
*
)
*
)
usage
exit
1
;;
esac
esac
done
...
...
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