Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
8db0aa96
Commit
8db0aa96
authored
Dec 09, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix install links
parent
bdf98dbd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Makefile
Makefile
+6
-3
epm
bin/epm
+2
-1
No files found.
Makefile
View file @
8db0aa96
...
@@ -5,9 +5,12 @@ instpkgdatadir=/usr/share/eepm
...
@@ -5,9 +5,12 @@ instpkgdatadir=/usr/share/eepm
install
:
install
:
mkdir
-p
$(DESTDIR)$(bindir)
/
mkdir
-p
$(DESTDIR)$(bindir)
/
mkdir
-p
$(DESTDIR)$(pkgdatadir)
/
# breaks link
install
-m
755
`
ls
-1
bin/
*
|
grep
-v
"-"
`
$(DESTDIR)$(bindir)
/
#install -m 755 `ls -1 bin/* | grep -v "-"`
$(DESTDIR)$(bindir)
/
install
-m
755
`
ls
-1
bin/
*
|
grep
"-"
`
$(DESTDIR)$(pkgdatadir)
/
cp
-a
`
ls
-1
bin/
*
|
grep
-v
"-"
`
$(DESTDIR)$(bindir)
/
chmod
0755
$(DESTDIR)$(bindir)
/
*
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
<bin/epm
>
$(DESTDIR)$(bindir)
/epm
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
<bin/epm
>
$(DESTDIR)$(bindir)
/epm
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
<bin/serv
>
$(DESTDIR)$(bindir)
/serv
sed
-e
"s|SHAREDIR=.*|SHAREDIR=
$(instpkgdatadir)
|g"
<bin/serv
>
$(DESTDIR)$(bindir)
/serv
mkdir
-p
$(DESTDIR)$(pkgdatadir)/
install
-m
644
`ls
-1
bin/*
|
grep
"-"
`
$(DESTDIR)$(pkgdatadir)/
bin/epm
View file @
8db0aa96
...
@@ -25,7 +25,8 @@ SHAREDIR=$(dirname $0)
...
@@ -25,7 +25,8 @@ SHAREDIR=$(dirname $0)
load_helper
()
load_helper
()
{
{
local
CMD
=
"
$SHAREDIR
/
$1
"
local
CMD
=
"
$SHAREDIR
/
$1
"
[
-r
"
$CMD
"
]
||
fatal
"Have no
$CMD
helper file"
# do not use fatal() here, it can be initial state
[
-r
"
$CMD
"
]
||
{
echo
"FATAL: Have no
$CMD
helper file"
;
exit
1
;
}
.
$CMD
.
$CMD
}
}
...
...
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