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
  • Loading branch information
Aleksei Shpakovskii committed Aug 18, 2023
1 parent 1d551d2 commit fe7bc33
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 @@ -127,7 +127,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 fe7bc33

Please sign in to comment.