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
ace51ce8
Unverified
Commit
ace51ce8
authored
Apr 06, 2021
by
Stéphane Graber
Committed by
GitHub
Apr 06, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3772 from merlin1991/master
templates/*.in: fixed PATH handling with spaces
parents
093bfcc8
655d10ed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
lxc-busybox.in
templates/lxc-busybox.in
+1
-1
lxc-download.in
templates/lxc-download.in
+1
-1
lxc-local.in
templates/lxc-local.in
+1
-1
lxc-oci.in
templates/lxc-oci.in
+1
-1
No files found.
templates/lxc-busybox.in
View file @
ace51ce8
...
...
@@ -26,7 +26,7 @@ LXC_MAPPED_GID=
BUSYBOX_EXE
=
`
which busybox
`
# Make sure the usual locations are in PATH
export
PATH
=
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin
export
PATH
=
"
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin"
in_userns
()
{
[
-e
/proc/self/uid_map
]
||
{
echo
no
;
return
;
}
...
...
templates/lxc-download.in
View file @
ace51ce8
...
...
@@ -66,7 +66,7 @@ if [ -z "${DOWNLOAD_KEYSERVER:-}" ]; then
fi
# Make sure the usual locations are in PATH
export
PATH
=
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin
export
PATH
=
"
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin"
# Some useful functions
cleanup
()
{
...
...
templates/lxc-local.in
View file @
ace51ce8
...
...
@@ -33,7 +33,7 @@ MODE="system"
COMPAT_LEVEL
=
5
# Make sure the usual locations are in PATH
export
PATH
=
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin
export
PATH
=
"
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin"
in_userns
()
{
[
-e
/proc/self/uid_map
]
||
{
echo
no
;
return
;
}
...
...
templates/lxc-oci.in
View file @
ace51ce8
...
...
@@ -23,7 +23,7 @@
set
-eu
# Make sure the usual locations are in PATH
export
PATH
=
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin
export
PATH
=
"
$PATH
:/usr/sbin:/usr/bin:/sbin:/bin"
# Check for required binaries
for
bin
in
skopeo umoci jq
;
do
...
...
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