I currently have the Run Script for ParseCrashReporting
as follows:
export PATH=/usr/local/bin:$PATH
cd cd /Users/Computer1/projects/someProject/parse
parse symbols "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
The problem is the code is source controlled and when I pull at another computer the path is no longer valid is there a way to have two paths in the script?
something like this:
export PATH=/usr/local/bin:$PATH
cd /Users/Computer1/projects/someProject/parse OR cd /Users/Computer2/projects/someProject/parse
parse symbols "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
Any suggestion would be appreciated.
You should be able to use $PROJECT_DIR
export PATH=/usr/local/bin:$PATH cd $PROJECT_DIR/parse
parse symbols "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"/parse