Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 839 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
dm-33id-daq 399 B
#!/bin/sh

# Run command

if [ -z $DM_ROOT_DIR ]; then
    cd `dirname $0` && myDir=`pwd`
    setupFile=$myDir/../../setup.sh
    if [ ! -f $setupFile ]; then
        echo "Cannot find setup file: $setupFile"
        exit 1
    fi
    source $setupFile > /dev/null
fi
source $DM_ROOT_DIR/bin/dm_command_setup.sh

eval "$DM_ROOT_DIR/src/python/dm/aps_beamline_tools/cli/daqCli.py $DM_COMMAND_ARGS"