Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 403952 Details for
Bug 528380
x11-themes/mate-themes-1.8.0: fails to build with /bin/sh -> dash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mkiconlinks.sh.patch
mkiconlinks.sh.patch (text/plain), 795 bytes, created by
Andrew Miller
on 2015-05-25 19:33:02 UTC
(
hide
)
Description:
mkiconlinks.sh.patch
Filename:
MIME Type:
Creator:
Andrew Miller
Created:
2015-05-25 19:33:02 UTC
Size:
795 bytes
patch
obsolete
>Use a case statement and glob to match the first character of $NEXTLINE, >instead of string splitting, which isn't portable. > >Patch by Andrew Miller. > >https://bugs.gentoo.org/528380 > >--- a/common/mkiconlinks.sh >+++ b/common/mkiconlinks.sh >@@ -16,8 +16,9 @@ > while [ ! -z "$NEXTLINE" ] ; do > > # Skip lines beginning with '#' >- if [ ! "${NEXTLINE:0:1}" == '#' ]; then >- #Extract first field, minus its trailing colon >+ case "$NEXTLINE" in >+ \#*) continue ;; >+ *) #Extract first field, minus its trailing colon > ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'` > > #Extract list of following fields >@@ -26,8 +27,8 @@ > if [ ! -z "$LINKTO" ] ; then > echo "Creating symlinks to `pwd`/$ORIG_FILE" > fi >- >- fi >+ ;; >+ esac > > #Link each pair in turn > for i in $LINKTO ; do
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 528380
:
389974
|
394116
| 403952