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
6f8db460
Commit
6f8db460
authored
Nov 21, 2008
by
dlezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hard code localstatedir in the scripts. pkgconfig is too difficult to handle
between 32bits and 64bits architecture and different pkgconfig conflict.
parent
0387b7a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
lxc-ls.in
src/lxc/lxc-ls.in
+2
-1
lxc-ps.in
src/lxc/lxc-ps.in
+3
-1
No files found.
src/lxc/lxc-ls.in
View file @
6f8db460
#!/bin/bash
lxcpath
=
$(
PKG_CONFIG_PATH
=
/usr/lib/pkgconfig pkg-config
--variable
=
localstatedir lxc
)
/lxc
prefix
=
@prefix@
lxcpath
=
@localstatedir@/lxc
if
[
!
-r
$lxcpath
]
;
then
exit
0
...
...
src/lxc/lxc-ps.in
View file @
6f8db460
#!/bin/bash
# set -ex
lxcpath
=
$(
PKG_CONFIG_PATH
=
/usr/lib/pkgconfig pkg-config
--variable
=
localstatedir lxc
)
/lxc
prefix
=
@prefix@
lxcpath
=
@localstatedir@/lxc
if
[
!
-r
$lxcpath
]
;
then
exit
0
...
...
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