diff --git a/patches/electron-installer-redhat+3.4.0.patch b/patches/electron-installer-redhat+3.4.0.patch index 9f8d649ba51..7f760d39ff6 100644 --- a/patches/electron-installer-redhat+3.4.0.patch +++ b/patches/electron-installer-redhat+3.4.0.patch @@ -8,3 +8,8 @@ index e07a8a3..486f59e 100644 %if "%{_host_cpu}" != "%{_target_cpu}" %global __strip /bin/true +@@ -26,3 +27,3 @@ + %>%install + mkdir -p %{buildroot}/usr/ +-cp <%= process.platform === 'darwin' ? '-R' : '-r' %> usr/* %{buildroot}/usr/ ++cp <%= process.platform === 'darwin' ? '-R' : '-r' %> %{_topdir}/BUILD/usr/* %{buildroot}/usr/