Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Kasra Jamshidi
slapos.package
Commits
28a81c45
Commit
28a81c45
authored
Jul 14, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch /usr/bin/cygport after install cygwin
parent
72de90f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
windows/scripts/post-install.sh
windows/scripts/post-install.sh
+7
-1
No files found.
windows/scripts/post-install.sh
View file @
28a81c45
...
@@ -138,7 +138,13 @@ elif [[ ! -d /opt/slapos ]] ; then
...
@@ -138,7 +138,13 @@ elif [[ ! -d /opt/slapos ]] ; then
echo
Warning: Missing
${
_filename
}
echo
Warning: Missing
${
_filename
}
fi
fi
# Patch cygport
# Patch cygport, so that we can specify package prefix by ourself.
_filename
=
/usr/bin/cygport
if
[[
-f
${
_filename
}
]]
;
then
echo
Patching
${
_filename
}
...
sed
-i
-e
's/D="${workdir}\/inst"/D="${CYGCONF_PREFIX-${workdir}\/inst}"/g'
${
_filename
}
&&
echo
OK.
fi
_filename
=
/usr/share/cygport/cygclass/autotools.cygclass
_filename
=
/usr/share/cygport/cygclass/autotools.cygclass
if
[[
-f
${
_filename
}
]]
;
then
if
[[
-f
${
_filename
}
]]
;
then
echo
Patching
${
_filename
}
...
echo
Patching
${
_filename
}
...
...
...
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