breeze-icons: don't look for bash on Windows
ClosedPublic

Authored by winterz on May 26 2017, 1:12 PM.

Details

Reviewers
aacid
Summary

On Windows, even if we have bash (which is provided , for example, by the GoW project) we don't have the tools required by validate-svg.sh to actually run. We'd need to also ensure the unixy 'find' command (not the Windows 'find' command) as well as xmllint.

For now let's not even bother on Windows.

A better solution is to write a new portable script in Python . and also you need to make sure xmllint is available.

Diff Detail

Repository
R266 Breeze Icons
Lint
Lint Skipped
Unit
Unit Tests Skipped
winterz created this revision.May 26 2017, 1:12 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMay 26 2017, 1:12 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
aacid added a subscriber: aacid.May 26 2017, 8:38 PM

I don't understand, you say it has bash, so why are you commenting out the bash related code?

Because Hannah told me the script doesn't work on Windows.

let's look at validate-svg.sh.
you need a working unix 'find' command (not the WIndows find command) as well as xmllint for the bash script to work.

aacid added a comment.May 27 2017, 9:28 AM

Because Hannah told me the script doesn't work on Windows.

Then you need a better commit message :)

Saying "we have bash, let's comment this bash using script" is not what you're doing. What you're doing is "we don't have the tool required by this bash script even if we do actually have bash"

winterz edited the summary of this revision. (Show Details)May 27 2017, 12:37 PM
aacid accepted this revision.May 28 2017, 8:24 PM
This revision is now accepted and ready to land.May 28 2017, 8:24 PM