From: Michael Orlitzky Date: Thu, 7 Dec 2017 21:53:49 +0000 (-0500) Subject: Use POSIX sh compatible syntax where possible. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=bash.d.git;a=commitdiff_plain;h=f798b14aba7f6c0b9a30c7d169fe6b997613ed1c;hp=087320ca8226a1e0c2cfcfd196e0fc8373f7cf59 Use POSIX sh compatible syntax where possible. --- diff --git a/aliases b/aliases index 2d85320..405d02b 100644 --- a/aliases +++ b/aliases @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh alias df='df --human-readable' alias du='du --human-readable --summarize *' diff --git a/compilation b/compilation index a166d66..1dc51de 100644 --- a/compilation +++ b/compilation @@ -1,14 +1,14 @@ -#!/bin/bash +#!/bin/sh # Grab CFLAGS, etc. from the profile... if [ -f /etc/portage/make.profile/make.defaults ]; then - source /etc/portage/make.profile/make.defaults + . /etc/portage/make.profile/make.defaults fi # and from make.conf, allowing the values in make.conf to override the # ones in the profile. if [ -f /etc/portage/make.conf ]; then - source /etc/portage/make.conf + . /etc/portage/make.conf fi diff --git a/options b/options index 9bbe669..a833df7 100644 --- a/options +++ b/options @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # No stupid disclaimers. export WHOIS_OPTIONS="-H" diff --git a/sage b/sage index 44e317d..e1dd0bd 100644 --- a/sage +++ b/sage @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # This is the default, but let's make sure. export SAGE_INSTALL_GCC=no