https://bugs.kde.org/show_bug.cgi?id=369307

            Bug ID: 369307
           Summary: Wrong find command in file validate_svg.sh
           Product: Breeze
           Version: 5.7.95
          Platform: Other
                OS: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Icons
          Assignee: visual-des...@kde.org
          Reporter: alexander.reinho...@kdemail.net
                CC: kain...@gmail.com

When compiling from source under FreeBSD using ports with the plasma5 branch
from area51 merged, compilation of the package breeze-icons fails with an
'illegal command' error, due to a wrong find command line in the
validate_svg.sh file. (See additional information section for a patch.)

Reproducible: Always

Steps to Reproduce:
Compile breeze-icons from source under FreeBSD.

Actual Results:  
Fails with an 'illegal command' error.

Expected Results:  
Compiles successfully.

The following patch fixes the problem:

diff --git a/validate_svg.sh b/validate_svg.sh
index bbc3076..adaf26f 100644
--- a/validate_svg.sh
+++ b/validate_svg.sh
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash

-find -name '*.svg' -exec xmllint --noout {} + 2> xmlerrors
+find . -name '*.svg' -exec xmllint --noout {} + 2> xmlerrors
 if [ -s xmlerrors ]; then
     cat xmlerrors
     rm xmlerrors

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to