Skip to content

Commit

Permalink
Remove Unused SEDCMD (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
amayer5125 authored Jul 5, 2021
1 parent 1f44276 commit c297dae
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions bin/sail
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ export SAIL_SHARE_DASHBOARD=${SAIL_SHARE_DASHBOARD:-4040}
export SAIL_SHARE_SERVER_HOST=${SAIL_SHARE_SERVER_HOST:-"laravel-sail.site"}
export SAIL_SHARE_SERVER_PORT=${SAIL_SHARE_SERVER_PORT:-8080}

if [ "$MACHINE" == "linux" ]; then
export SEDCMD="sed -i"
elif [ "$MACHINE" == "mac" ]; then
export SEDCMD="sed -i .bak"
fi

# Ensure that Docker is running...
if ! docker info > /dev/null 2>&1; then
echo -e "${WHITE}Docker is not running.${NC}" >&2
Expand Down

0 comments on commit c297dae

Please sign in to comment.