Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tools.PDFutils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • osp
  • tools.PDFutils
  • Issues
  • #1
Closed
Open
Created Oct 20, 2021 by julien taq@julientaq

Make pdfutils work with osx

Hi there!

i’m trying to make the script works on osx. It seems that the test in the rgb2cymk is broken as it uses ==

From what i got from https://www.shellscript.sh/test.html:

Note: Some shells also accept == for string comparison; this is not portable, a single = should be used for strings, or -eq for integers.

So i changed it to = on line 19 and things are better

Thanks for sharing this amazing tool, pretty useful in pagedjs world :)

Edited Oct 20, 2021 by julien taq
Assignee
Assign to
Time tracking