| Summary: | Wrong find command in file validate_svg.sh | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | Alexander Reinholdt <alexander.reinholdt> |
| Component: | Icons | Assignee: | visual-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kainz.a, sitter |
| Priority: | NOR | ||
| Version First Reported In: | 5.7.95 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | FreeBSD | ||
| Latest Commit: | 9e0466a1996717e44ca8c3842abd304d69af7ea7 | Version Fixed/Implemented In: | 5.27 |
| Sentry Crash Report: | |||
| Attachments: | Patch that fixes the described failure | ||
Created attachment 101269 [details]
Patch that fixes the described failure
http://commits.kde.org/breeze-icons/9e0466a1996717e44ca8c3842abd304d69af7ea7 https://git.reviewboard.kde.org/r/129020/ For future reference. Review Board is (currently) the place to put patches, they easily get lost in the bug tracker https://community.kde.org/Infrastructure/Review_Board |
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