Skip to content

Commit

Permalink
Remove s/cfapi_log/syslog/ replacement
Browse files Browse the repository at this point in the history
It's not needed anymore, and takes 30 seconds on each build

Ticket: ENT-10420
(cherry picked from commit fe7bc33)
  • Loading branch information
Aleksei Shpakovskii committed Aug 28, 2023
1 parent c64de1d commit f835044
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ sed "s/define('ENVIRONMENT', 'development')/define('ENVIRONMENT','production')/g
mv $RPM_BUILD_ROOT%prefix/share/GUI/public/index.php.tmp $RPM_BUILD_ROOT%prefix/share/GUI/public/index.php
rm -f $RPM_BUILD_ROOT%prefix/share/GUI/public/index.php.tmp

find $RPM_BUILD_ROOT%prefix/share/GUI -type f -exec sed -i 's/cfapi_log/syslog/' {} \;
# NovaBase
mkdir -p $RPM_BUILD_ROOT%prefix/share/NovaBase
cp -R $RPM_BUILD_ROOT%prefix/masterfiles $RPM_BUILD_ROOT%prefix/share/NovaBase/masterfiles
Expand Down

0 comments on commit f835044

Please sign in to comment.