Skip to content

Commit

Permalink
webkitgtk: use install instead of mkdir
Browse files Browse the repository at this point in the history
as mkdir uses user specific masks for directory creation, install
does not

Signed-off-by: Konrad Weihmann <[email protected]>
  • Loading branch information
kwavnet authored and clopez committed Jun 6, 2023
1 parent 8a5d5fa commit 0737b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes-browser/webkitgtk/webkitgtk_2.38.6.bb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ WEBKITGTK_API_VERSION := "${@bb.utils.contains('PACKAGECONFIG', 'soup2', '4.0',
# Install MiniBrowser in PATH
do_install:append() {
if test -f "${D}${libexecdir}/webkit2gtk-${WEBKITGTK_API_VERSION}" ; then
mkdir -p ${D}${bindir}
install -d ${D}${bindir}
mv ${D}${libexecdir}/webkit2gtk-${WEBKITGTK_API_VERSION}/MiniBrowser ${D}${bindir}
fi
}
Expand Down
2 changes: 1 addition & 1 deletion recipes-browser/webkitgtk/webkitgtk_2.40.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ WEBKITGTK_API_VERSION := "${@bb.utils.contains('PACKAGECONFIG', 'soup2', '4.0',
# Install MiniBrowser in PATH
do_install:append() {
if test -f "${D}${libexecdir}/webkit2gtk-${WEBKITGTK_API_VERSION}" ; then
mkdir -p ${D}${bindir}
install -d ${D}${bindir}
mv ${D}${libexecdir}/webkit2gtk-${WEBKITGTK_API_VERSION}/MiniBrowser ${D}${bindir}
fi
}
Expand Down

0 comments on commit 0737b12

Please sign in to comment.