forked from norman/fusionpbx-install.sh-github-mirror
BugFix-Resource sourcing (#46)
changes of directory using relative paths is back firing
This commit is contained in:
3
debian/install.sh
vendored
3
debian/install.sh
vendored
@@ -3,7 +3,8 @@
|
||||
#move to script directory so all relative paths work
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
. resources/arguments.sh
|
||||
. ./resources/colors.sh
|
||||
. ./resources/arguments.sh
|
||||
|
||||
if [ $CPU_CHECK = true ] && [ $USE_SWITCH_SOURCE = false ]; then
|
||||
#check what the CPU and OS are
|
||||
|
||||
2
debian/resources/arguments.sh
vendored
2
debian/resources/arguments.sh
vendored
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ./colors.sh
|
||||
|
||||
#Process command line options only if we haven't been processed once
|
||||
if [ -z "$CPU_CHECK" ]; then
|
||||
export script_name=`basename "$0"`
|
||||
|
||||
1
debian/resources/fusionpbx.sh
vendored
1
debian/resources/fusionpbx.sh
vendored
@@ -3,6 +3,7 @@
|
||||
#move to script directory so all relative paths work
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
. ./colors.sh
|
||||
. ./arguments.sh
|
||||
|
||||
#send a message
|
||||
|
||||
3
debian/resources/switch/package-release.sh
vendored
3
debian/resources/switch/package-release.sh
vendored
@@ -3,7 +3,8 @@
|
||||
#move to script directory so all relative paths work
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
. ./arguments.sh
|
||||
. ../colors.sh
|
||||
. ../arguments.sh
|
||||
|
||||
apt-get update && apt-get install -y --force-yes curl memcached haveged
|
||||
arch=$(uname -m)
|
||||
|
||||
Reference in New Issue
Block a user