Skip to content
Snippets Groups Projects
dm-download 380 B
Newer Older
#!/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_command_setup.sh

eval "$DM_ROOT_DIR/src/python/dm/ds_web_service/cli/downloadCli.py $DM_COMMAND_ARGS"