Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Commit

Permalink
Use /bin/bash instead of bash command
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoraddatz committed Dec 30, 2016
1 parent 6179be6 commit 1541176
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homebridge.sh
Expand Up @@ -54,7 +54,7 @@ _rerun() {

# Manually open bash
_attach() {
docker exec -ti $CONTAINER_NAME bash
docker exec -ti $CONTAINER_NAME /bin/bash
}

# Container logs
Expand Down
5 changes: 4 additions & 1 deletion image/run.sh
Expand Up @@ -9,6 +9,9 @@ install_file="/root/.homebridge/install.sh"
package_file="/root/.homebridge/package.json"
plugin_folder="/root/.homebridge/plugins"

echo "Logged in as:"
whoami

# Include environment variables
if [ -f "$env_file" ]
then
Expand Down Expand Up @@ -41,7 +44,7 @@ if [ -f "$install_file" ]
then
echo "Installing plugins from $install_file."

bash $install_file
/bin/bash $install_file
else
echo "$install_file not found."
fi
Expand Down

0 comments on commit 1541176

Please sign in to comment.