Skip to content
GitLab
Next
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slarm64-current
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
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
mara
slarm64-current
Commits
83424a7b
Commit
83424a7b
authored
Sep 30, 2017
by
mara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sed get head and footer in original slackbuild scripts
parent
15564ab8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
aarch64_build_kit.sh
aarch64_build_kit.sh
+2
-2
No files found.
aarch64_build_kit.sh
View file @
83424a7b
...
...
@@ -43,7 +43,7 @@ fix_default() {
for
pf
in
$(
find
${
_WORK_DIR
}
/
-maxdepth
1
-type
f |
grep
.SlackBuild
)
;
do
pf
=
$(
basename
"
$pf
"
)
echo
"
$pf
"
sed
-n
'/
if \[ \"$ARCH\" = \"\(i.86\)\" \]/{:a;N;/
fi$/!ba;N;s/.*\n/case \"\$ARCH\" in\
sed
-n
'/
^if \[ \"$ARCH\" = \"\(i.86\)\" \]/{:a;N;/^
fi$/!ba;N;s/.*\n/case \"\$ARCH\" in\
i?86\) SLKCFLAGS=\"-O2 -march=i586 -mtune=i686\"\
LIBDIRSUFFIX=\"\"\
;;\
...
...
@@ -71,7 +71,7 @@ fix_global() {
patching_files
()
{
local
PATCH_FILES
=
$(
find
-maxdepth
1
-type
f |
grep
patch
$
|
sed
's#.patch##'
)
local
count
=
1
for
pf
in
"
${
PATCH_FILES
}
"
;
do
for
pf
in
${
PATCH_FILES
}
;
do
pf
=
$(
basename
"
$pf
"
)
[[
-z
"
$pf
"
]]
&&
continue
pushd
${
_WORK_DIR
}
2>&1>/dev/null
...
...
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