commit 7fb571449a5974a4d1c851b9392adccba89d090b
parent c501efed55ceb52b1e251c88053325f30f9d8960
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 8 Jan 2019 20:22:27 +0100
Fixed shebangs
Former-commit-id: 9077b715267d2ac3eca51f473d108e5fe3690a3f
Diffstat:
12 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/bin/clonedisk b/bin/clonedisk
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Disc backup/clone script
# Requires rsync 3
diff --git a/bin/executable b/bin/executable
@@ -1,8 +1,8 @@
+#!/usr/bin/env bash
# CREATED BY ALEX BALGAVY OF INSIGHTDEV
# COPYRIGHT (C)2013 ALEX BALGAVY
# FREE TO USE OR SHARE
-#!/bin/bash
# Sets the parameters equal to variables
FILENAME="${1}"
diff --git a/bin/it-style b/bin/it-style
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
oldifs="$IFS"
while :; do
if [ $# -ne 0 ]; then
diff --git a/bin/linkdir b/bin/linkdir
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [ $# -eq 0 ]; then
echo "Needs at least one argument (the source directory)."
echo "Usage: linkdir source_directory [target_directory]"
diff --git a/bin/play b/bin/play
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
rootdir="$MUSIC_DIR"
mpv_options="--no-video --really-quiet --volume=50"
diff --git a/bin/radio b/bin/radio
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Initial config, setting $radios and $radio_names
if [ -e ~/.radio-config ]; then
diff --git a/bin/tag b/bin/tag
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
clear
cd ~
echo Welcome to MP3 Tagger!
diff --git a/bin/topdf b/bin/topdf
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
for f in "$@"
do
filePathNoExtension="${f%.*}"
diff --git a/bin/updatemaster b/bin/updatemaster
@@ -1,4 +1,4 @@
-#!/usr/local/bin/bash
+#!/usr/bin/env bash
# Set default variables
OPTIND=1
diff --git a/bin/wattpad-scrape b/bin/wattpad-scrape
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
current_directory=`pwd`
if [ $# -eq 0 ];
then
diff --git a/install.sh b/install.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# vim: foldmethod=marker:foldlevel=0
# Preliminary checks {{{
diff --git a/shell/bash_profile b/shell/bash_profile
@@ -1,3 +1,4 @@
-source $HOME/.commonprofile
+#!/usr/bin/env bash
+source "$HOME/.commonprofile"
PATH=$PATH:/opt/metasploit-framework/bin
export PATH=$PATH:/opt/metasploit-framework/bin