File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed
Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- source ./src/display
4- source ./src/execution
5- source ./src/strings
6- source ./src/files
3+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
4+
5+ source ${DIR} /src/display
6+ source ${DIR} /src/execution
7+ source ${DIR} /src/strings
8+ source ${DIR} /src/files
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# Import helpers functions
4- source ../helpers
4+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
5+ source ${DIR} /../helpers
56
67HOSTNAME=$1
78if [ -z " ${HOSTNAME} " ]
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# Import helpers functions
4- source ../helpers
4+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
5+ source ${DIR} /../helpers
56
67ETC_HOSTS=/etc/hosts
78HOSTNAME=$2
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# Import helpers functions
4- source ../helpers
4+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
5+ source ${DIR} /../helpers
56
67
78function clone() {
Original file line number Diff line number Diff line change 11{
22 "name" : " mmb-bash-helpers" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " Bash helpers" ,
55 "repository" : {
66 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments