Skip to content

Commit

Permalink
Trying a new way to source files
Browse files Browse the repository at this point in the history
  • Loading branch information
dlovitch committed Feb 21, 2015
1 parent 341c833 commit 2009104
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions function_library.sh
Expand Up @@ -15,5 +15,7 @@ SETCOLOR_WARNING="echo -en \\033[1;33m"
SETCOLOR_NORMAL="echo -en \\033[0;39m"


. general_functions.sh
. network_functions.sh
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

. $DIR/general_functions.sh
. $DIR/network_functions.sh
4 changes: 3 additions & 1 deletion network_functions.sh
@@ -1,6 +1,8 @@
#!/bin/bash

. general_functions.sh
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

. $DIR/general_functions.sh

get_hwaddr() { # taken mostly from RedHat
if [ -f /sys/class/net/${1}/address ]; then
Expand Down

0 comments on commit 2009104

Please sign in to comment.