Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
korinf
etersoft-build-utils
Commits
291acc21
You need to sign in or sign up before continuing.
Commit
291acc21
authored
Jul 09, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add version detecting to eterbuild / functions/common
parent
43a8bc68
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
eterbuild
share/eterbuild/eterbuild
+2
-2
common
share/eterbuild/functions/common
+11
-1
config
share/eterbuild/functions/config
+2
-0
pkgrepl.x86_64.mdv
share/eterbuild/pkgrepl/pkgrepl.x86_64.mdv
+2
-0
No files found.
share/eterbuild/eterbuild
View file @
291acc21
# Public script for include in your scripts. Example:
## load common functions, compatible with local and installed script
#. /usr/share/eterbuild/eterbuild
#. /usr/share/eterbuild/eterbuild
[VERSION]
# load_mod spec
ETERBUILDETC=/etc/eterbuild
ETERBUILDDIR=/usr/share/eterbuild
. /usr/share/eterbuild/functions/common
. /usr/share/eterbuild/functions/common
$@
load_mod rpm
share/eterbuild/functions/common
View file @
291acc21
#!/bin/bash
# 2003-200
8
Etersoft www.etersoft.ru
# 2003-200
9
Etersoft www.etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain
# $1 - needed VERSION of etersoft-build-utils. f.i. 162
# check for needed version
if
[
-n
"
$1
"
]
;
then
if
[
"
$1
"
-lt
$ETERBUILDVERSION
]
;
then
echo
"Obsoleted version of etersoft-build-utils version is used. Please upgrade it to
$1
version."
exit
1
fi
fi
set_eterbuilddir
()
{
[
-z
"
$ETERBUILDDIR
"
]
||
return
0
...
...
share/eterbuild/functions/config
View file @
291acc21
...
...
@@ -3,6 +3,8 @@
# Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain
ETERBUILDVERSION
=
162
# SUDO
SUDO
=
"sudo"
# for some shells? not for bash
...
...
share/eterbuild/pkgrepl/pkgrepl.x86_64.mdv
0 → 100644
View file @
291acc21
# Mandriva 64bit base replacements rules
libXext-devel|lib64xext6-devel
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