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
27
Issues
27
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
597a7f16
Commit
597a7f16
authored
Jun 23, 2017
by
A. Wilcox
Committed by
Timo Teräs
Jun 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: call tar portably
parent
9dd4a70e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
abuild-sign.in
abuild-sign.in
+1
-1
abuild.in
abuild.in
+2
-2
No files found.
abuild-sign.in
View file @
597a7f16
...
...
@@ -31,7 +31,7 @@ do_sign() {
sig
=
".SIGN.RSA.
$keyname
"
openssl dgst
-sha1
-sign
"
$privkey
"
-out
"
$sig
"
"
$i
"
tmptargz
=
$(
mktemp
)
tar
-c
"
$sig
"
| abuild-tar
--cut
|
gzip
-9
>
"
$tmptargz
"
tar
-
f
-
-
c
"
$sig
"
| abuild-tar
--cut
|
gzip
-9
>
"
$tmptargz
"
tmpsigned
=
$(
mktemp
)
cat
"
$tmptargz
"
"
$i
"
>
"
$tmpsigned
"
rm
-f
"
$tmptargz
"
"
$sig
"
...
...
abuild.in
View file @
597a7f16
...
...
@@ -1375,7 +1375,7 @@ create_apks() {
touch
.
dummy
set
--
.
dummy
fi
tar
--
xattrs
-
c
"$@"
|
abuild
-
tar
--
hash
|
gzip
-
9
>
"$dir"
/
data
.
tar
.
gz
tar
--
xattrs
-
f
-
-
c
"$@"
|
abuild
-
tar
--
hash
|
gzip
-
9
>
"$dir"
/
data
.
tar
.
gz
msg
"Create checksum..."
#
append
the
hash
for
data
.
tar
.
gz
...
...
@@ -1384,7 +1384,7 @@ create_apks() {
#
control
.
tar
.
gz
cd
"$dir"
tar
-
c
$(
cat
"$dir"
/.
metafiles
)
|
abuild
-
tar
--
cut
\
tar
-
f
-
-
c
$(
cat
"$dir"
/.
metafiles
)
|
abuild
-
tar
--
cut
\
|
gzip
-
9
>
control
.
tar
.
gz
abuild
-
sign
-
q
control
.
tar
.
gz
||
exit
1
...
...
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