Skip to content

Commit

Permalink
[gettext] Workaround bash substitution failure (microsoft#36203)
Browse files Browse the repository at this point in the history
* [gettext] Attempt fixing invalid substitution error (microsoft#36201)

Bash is complaining about invalid substitutions, so use sed to remove the
gettext-runtime substring instead.

* [gettext] Bump portrevision (microsoft#36201)

* [gettext] Regenerate versions (microsoft#36201)
  • Loading branch information
SchaichAlonso authored Jan 22, 2024
1 parent 4521e84 commit fa6e6a6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/gettext/subdirs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index 904bdf5..e751ffc 100755


-subdirs="$subdirs gettext-runtime libtextstyle gettext-tools"
+subdirs="$subdirs gettext-runtime ${VCPKG_GETTEXT_SUBDIRS/gettext-runtime/}"
+subdirs="$subdirs gettext-runtime $(echo ${VCPKG_GETTEXT_SUBDIRS} | sed 's/gettext-runtime//')"



Expand Down
2 changes: 1 addition & 1 deletion ports/gettext/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gettext",
"version": "0.22.4",
"port-version": 1,
"port-version": 2,
"description": "A GNU framework to help produce multi-lingual messages.",
"homepage": "https://www.gnu.org/software/gettext/",
"license": "GPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2950,7 +2950,7 @@
},
"gettext": {
"baseline": "0.22.4",
"port-version": 1
"port-version": 2
},
"gettext-libintl": {
"baseline": "0.22.4",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gettext.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d9cc9b8256d9653fe2d484ecf268f7368666d942",
"version": "0.22.4",
"port-version": 2
},
{
"git-tree": "bd31edd407c0889c864c1e8854be92b602a4e29f",
"version": "0.22.4",
Expand Down

0 comments on commit fa6e6a6

Please sign in to comment.