Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
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
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
abuild
Commits
044359f0
Commit
044359f0
authored
Jan 26, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: style fixes
parent
e609357a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
abuild
abuild
+1
-1
functions.sh
functions.sh
+8
-8
No files found.
abuild
View file @
044359f0
...
...
@@ -164,7 +164,7 @@ unpack() {
msg
"Unpacking
$s
..."
unzip
"
$s
"
-d
"
$srcdir
"
||
return
1
;;
*
)
error
"Archive not supported"
error
"
${
s
##*/
}
:
Archive not supported"
return
1
;;
esac
done
...
...
functions.sh
View file @
044359f0
...
...
@@ -13,22 +13,22 @@ fi
# functions
msg
()
{
local
prompt
=
"
$GREEN
>>>
${
NORMAL
}
"
local
fake
=
"
${
FAKEROOTKEY
:+
${
BLUE
}
(fakeroot)
${
NORMAL
}
}
"
local
fake
=
"
${
FAKEROOTKEY
:+
${
BLUE
}
*
${
NORMAL
}
}
"
local
name
=
"
${
STRONG
}${
subpkgname
:-
$pkgname
}${
NORMAL
}
"
[
-z
"
$quiet
"
]
&&
printf
"
${
prompt
}
${
fake
}${
nam
e
}
:
$@
\n
"
>
&2
[
-z
"
$quiet
"
]
&&
printf
"
${
prompt
}
${
name
}${
fak
e
}
:
$@
\n
"
>
&2
}
warning
()
{
local
prompt
=
"
${
YELLOW
}
>>> WARNING:
${
NORMAL
}
"
local
fake
=
"
${
FAKEROOTKEY
:+
${
BLUE
}
(fakeroot)
${
NORMAL
}
}
"
local
prompt
=
"
${
YELLOW
}
>>> WARNING:
${
NORMAL
}
"
local
fake
=
"
${
FAKEROOTKEY
:+
${
BLUE
}
*
${
NORMAL
}
}
"
local
name
=
"
${
STRONG
}${
subpkgname
:-
$pkgname
}${
NORMAL
}
"
printf
"
${
prompt
}
${
fake
}${
nam
e
}
:
$@
\n
"
>
&2
printf
"
${
prompt
}
${
name
}${
fak
e
}
:
$@
\n
"
>
&2
}
error
()
{
local
prompt
=
"
${
RED
}
>>> ERROR:
${
NORMAL
}
"
local
fake
=
"
${
FAKEROOTKEY
:+
${
BLUE
}
(fakeroot)
${
NORMAL
}
}
"
local
prompt
=
"
${
RED
}
>>> ERROR:
${
NORMAL
}
"
local
fake
=
"
${
FAKEROOTKEY
:+
${
BLUE
}
*
${
NORMAL
}
}
"
local
name
=
"
${
STRONG
}${
subpkgname
:-
$pkgname
}${
NORMAL
}
"
printf
"
${
prompt
}
${
fake
}${
nam
e
}
:
$@
\n
"
>
&2
printf
"
${
prompt
}
${
name
}${
fak
e
}
:
$@
\n
"
>
&2
}
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