Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110952749
bamc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Apr 28, 22:38
Size
724 B
Mime Type
text/x-shellscript
Expires
Wed, Apr 30, 22:38 (2 d)
Engine
blob
Format
Raw Data
Handle
25866730
Attached To
R1066 amc-cape
bamc
View Options
#!/bin/bash
#!/bin/bash
# Set SNAME, SDIR and SPATH
if [ -h $0 ]; then SNAME=$(readlink $0); else SNAME=$0; fi
SDIR=$(dirname $SNAME)
if [[ "$SDIR" =~ ^/ ]]; then SPATH=$SDIR; else SPATH=$(realpath $(pwd)/$SDIR); fi
# Set DIR_LIB
DIR_LIB=$(realpath $SPATH/../lib/bash)
# Source libs
source $DIR_LIB/colors.sh
source $DIR_LIB/io.sh
source $DIR_LIB/debugging.sh
source $DIR_LIB/cmdline_parser.sh
source $DIR_LIB/bamc_actions.sh
source $DIR_LIB/bamc_configuration.sh
source $DIR_LIB/bamc_help.sh
source $DIR_LIB/bamc_workspace.sh
source $DIR_LIB/bamc_exams.sh
source $DIR_LIB/bamc_projects.sh
DEFAULT_ITEMS=$(get_exam_list)
DEFAULT_ACTIONS="help"
CALLBACK_PREFIX="action_"
run $@
RC=$?
debug "Return code: $RC"
exit $RC
Event Timeline
Log In to Comment