Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Adélie Linux
abuild
Commits
2fd4128e
Commit
2fd4128e
authored
May 08, 2009
by
Natanael Copa
Committed by
Natanael Copa
May 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: rename pkgdirbase to pkgbasedir
parent
231d406d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
abuild.in
abuild.in
+5
-5
No files found.
abuild.in
View file @
2fd4128e
...
...
@@ -13,7 +13,7 @@ sysconfdir=@sysconfdir@
startdir
=
"
$PWD
"
srcdir
=
${
srcdir
:-
"
$startdir
/src"
}
pkg
dirbase
=
${
pkgdirbase
:-
"
$startdir
/pkg"
}
pkg
basedir
=
${
pkgbasedir
:-
"
$startdir
/pkg"
}
pkgrel
=
0
repo
=
${
startdir
%/*
}
repo
=
${
repo
##*/
}
...
...
@@ -213,7 +213,7 @@ unpack() {
clean
()
{
msg
"Cleaning temporary build dirs..."
rm
-rf
"
$srcdir
"
rm
-rf
"
$pkg
dirbase
"
rm
-rf
"
$pkg
basedir
"
}
# cleanup fetched sources
...
...
@@ -279,7 +279,7 @@ prepare_subpackages() {
local
func
=
$(
get_split_func
$i
)
# call abuild recursively, setting subpkg{dir,name}
msg
"Running split function
$func
..."
subpkgdir
=
"
$pkg
dirbase
/
${
i
%
:
*
}
"
subpkgname
=
"
${
i
%
:
*
}
"
\
subpkgdir
=
"
$pkg
basedir
/
${
i
%
:
*
}
"
subpkgname
=
"
${
i
%
:
*
}
"
\
$0
$func
prepare_package
||
return
1
done
}
...
...
@@ -379,7 +379,7 @@ pkginfo_val() {
create_apks
()
{
local
file
for
file
in
"
$pkg
dirbase
"
/
*
/.PKGINFO
;
do
for
file
in
"
$pkg
basedir
"
/
*
/.PKGINFO
;
do
local dir
=
"
${
file
%/.PKGINFO
}
"
local
name
=
$(
pkginfo_val pkgname
$file
)
local
ver
=
$(
pkginfo_val pkgver
$file
)
...
...
@@ -841,7 +841,7 @@ if [ -n "$subpkgname" ]; then
subpackages
=
install
=
fi
pkgdir
=
"
$
{
pkgdirbase
}
/
$pkgname
"
pkgdir
=
"
$
pkgbasedir
/
$pkgname
"
trap
'die "Aborted by user"'
INT
set_xterm_title
"abuild:
$pkgname
"
...
...
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