Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-488 Move Pegasus to FHS packaging
  3. PM-527

the shell code generator needs to be updated to handle the FHS layout

XMLWordPrintable

    • Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • master, 4.0
    • Affects Version/s: master, 4.0
    • Component/s: Pegasus Planner
    • None

      Currently, the shell script generated by the Pegasus Shell Code Generator has the following snippet in the starting that needs to be updated

      #!/bin/bash
      #

      1. executes the workflow in shell mode
        #

      if [ "X${PEGASUS_HOME}" = "X" ]; then
      echo "ERROR: Set your PEGASUS_HOME variable" 1>&2
      exit 1
      fi

      if [ ! -e ${PEGASUS_HOME}/libexec/shell-runner-functions.sh ];then
      echo "Unable to find shell-runner-functions.sh file."
      echo "You need to use Pegasus Version 3.0 or higher"
      exit 1
      fi
      . ${PEGASUS_HOME}/libexec/shell-runner-functions.sh

            Assignee:
            mayani Rajiv Mayani
            Reporter:
            vahi Karan Vahi
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: