Skip to content

Commit

Permalink
app-editors/vscode: fix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Nov 18, 2023
1 parent 97f1b59 commit b956526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-editors/vscode/vscode-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ src_install() {
sed -i '/^ELECTRON/,+3d' "${WORKDIR}"/V*/bin/code-oss || die

awk -i inplace -v text="$(cat ${FILESDIR}/read_flags_file)" '!/^#/ && !p {print text; p=1} 1' "${WORKDIR}"/V*/bin/code-oss
sed -i "s|@ELECTRON@|electron-${ELECTRON_SLOT}|" "${WORKDIR}"/V*/bin/code-oss
sed -i "s|@ELECTRON@|code-oss|" "${WORKDIR}"/V*/bin/code-oss

echo "VSCODE_PATH=\"/usr/$(get_libdir)/vscode\"
ELECTRON_PATH=\"/usr/$(get_libdir)/electron-${ELECTRON_SLOT}\"
Expand Down

0 comments on commit b956526

Please sign in to comment.