@@ -4,11 +4,14 @@
|
||||
## Sequencer interface:
|
||||
## - step_[1 - 255]_info [STEP NUMBER]
|
||||
## functions providing short header for help and user interaction
|
||||
## - step_[1 - 255]_alias
|
||||
## (optional) provide a string as alias for this step number
|
||||
## - step_[1 - 255] [STEP NUMBER]
|
||||
## functions performing custom operations
|
||||
## performing custom shell operations
|
||||
##
|
||||
|
||||
step_1_info() { echo "Step $1 header"; }
|
||||
step_1_alias() { ALIAS="begin"; }
|
||||
step_1() {
|
||||
cat .nofile
|
||||
saveReturn $?
|
||||
@@ -32,15 +35,19 @@ step_10() {
|
||||
}
|
||||
|
||||
step_11_info() { echo "Step $1 header"; }
|
||||
step_11_alias() { ALIAS="elf"; }
|
||||
step_11() {
|
||||
echo elf
|
||||
}
|
||||
|
||||
# Sequence Revision
|
||||
VERSION_SEQREV=1
|
||||
VERSION_SEQREV=2
|
||||
|
||||
# Workaround when called from different directory
|
||||
# Not needed when path to sequencer is absolut
|
||||
#
|
||||
# It is recommended to copy or link sequencer.sh to
|
||||
# /usr/local/bin
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >>/dev/null 2>&1 && pwd )"
|
||||
# Path to local sequencer.sh script
|
||||
. ${DIR}/./sequencer/sequencer.sh
|
||||
|
Reference in New Issue
Block a user