From 20c267d62e347d4c8410c4a7e1d3b86a7acba4e6 Mon Sep 17 00:00:00 2001 From: robocopAlpha <35454738+robocopAlpha@users.noreply.github.com> Date: Mon, 10 Aug 2020 09:31:53 +0300 Subject: [PATCH] Updates update shebang in executables Add link to homebrew in readme --- README.md | 4 ++-- brewlog.sh | 2 +- install.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 23286d5..a6b4145 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ I wrote [ `brewlog`](https://github.com/robocopAlpha/brewlog/) to patch a minor `brewlog` is simple solution that can: -+ `log` homebrew/linuxbrew activity (`STDOUT` and `STDERR`) to a logfile (default: `~/Logs/brew.log`) ++ `log` [`brew`](https://brew.sh/) activity (`STDOUT` and `STDERR`) to a logfile (default: `~/Logs/brew.log`) + because brewlog is a a new command (and not an alias), the user still retains the freedom to run `brew [command] [formula]` in case they do not want to log some brew activity. + `tail` the `brew.log` file to display selected number of lines. + `archive` the brew.log file (user has to explicitly invoke this command to archive). @@ -35,7 +35,7 @@ Now you're easily able to track the changes made to your system while running `b #### a) Install from binary -1. Download the binary from the [latest release](https://github.com/robocopAlpha/brewlog/releases/latest) (should run on *nix with a homebrew installation). +1. Download the binary from the [latest release](https://github.com/robocopAlpha/brewlog/releases/latest) (should run on *nix with a [homebrew](https://brew.sh/) installation). 2. `mv brewlog /usr/local/bin/brewlog` or to some other place that is in your `$PATH`. 3. Familiarize yourself by running `brewlog —help`. diff --git a/brewlog.sh b/brewlog.sh index 4fb8239..f9e2f05 100644 --- a/brewlog.sh +++ b/brewlog.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ########### # author: Deepankar Chakroborty diff --git a/install.sh b/install.sh index 81bf3b6..99ef2c0 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash BREWLOCATION=$(command -v brew) if [ "$?" -ne "0" ]; then echo "Homebrew/Linux brew installation not detected in your PATH."