Bash Script Structure: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 1: Line 1:
==Bash for Chorke==
==Bash for Chorke==
 
#bash settings/initialization
  BASH_HOME=$HOME/.chorke/var/bash
  BASH_HOME=$HOME/.chorke/var/bash
  BASH_PATH=$BASH_HOME/java/org/init
  BASH_PATH=$BASH_HOME/java/org/init
BASH_SITE=http://cdn.chorke.org/bash
#bash script download/copy
curl $BASH_SITE/java/init>$BASH_PATH/init
curl $BASH_SITE/java/make>$BASH_PATH/make
curl $BASH_SITE/java/make>$BASH_PATH/make/option
curl $BASH_SITE/java/pull>$BASH_PATH/pull
curl $BASH_SITE/java/push>$BASH_PATH/push
curl $BASH_SITE/java/sync>$BASH_PATH/sync


  ~/.chorke/
  ~/.chorke/

Revision as of 11:42, 9 January 2018

Bash for Chorke

#bash settings/initialization
BASH_HOME=$HOME/.chorke/var/bash
BASH_PATH=$BASH_HOME/java/org/init
BASH_SITE=http://cdn.chorke.org/bash
#bash script download/copy
curl $BASH_SITE/java/init>$BASH_PATH/init
curl $BASH_SITE/java/make>$BASH_PATH/make
curl $BASH_SITE/java/make>$BASH_PATH/make/option
curl $BASH_SITE/java/pull>$BASH_PATH/pull
curl $BASH_SITE/java/push>$BASH_PATH/push
curl $BASH_SITE/java/sync>$BASH_PATH/sync
~/.chorke/
   ├─ tmp/
   └─ var/
      └─ bash/
         └─ java/
            ├─ com/
            │  ├─ ebis/
            │  └─ ehis/
            └─ org/
               ├─ amqp/
               ├─ core/
               ├─ ecma/
               └─ init/
                  ├─ init
                  ├─ make
                  ├─ make/all
                  ├─ pull
                  ├─ push
                  └─ sync

Bash for Shahed

BASH_HOME=$HOME/.shahed/var/bash
BASH_PATH=$BASH_HOME/php/biz/bash
~/.shahed/
   ├─ tmp/
   └─ var/
      └─ bash/
         └─ php/
            └─ biz/
               ├─ site/
               └─ bash/
                  ├─ init
                  ├─ make
                  ├─ make/all
                  ├─ pull
                  ├─ push
                  └─ sync