Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-5142

Ninja does not correctly use relative paths for arguments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.1
    • Fix Version/s: backlog
    • Component/s: None
    • Labels:
      None

      Description

      cd /tmp
      /opt/midpoint/bin/ninja.sh export -O export.xml
      

      The file is created in /opt/midpoint/export.xml instead. This is caused by "cd" command(s) in ninja.sh wrapper.

      Workaround: always use absolute paths for arguments.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vix Ivan Noris
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: