Skip to content

Commit

Permalink
Merge pull request #4 from ralna/bash_location
Browse files Browse the repository at this point in the history
use /usr/bin/env bash instead of /bin/bash
  • Loading branch information
nimgould authored Feb 7, 2020
2 parents eb4acb8 + 68b89ff commit 42d3241
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

before_install:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sudo apt-get update -qq; sudo apt-get install -qq wget gfortran; fi
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew update; brew cask uninstall oclint; brew install gcc; fi
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew update; fi
- mkdir -p $HOME/archdefs
- cd $HOME/archdefs
- if [[ $ARCHDEFS_VERSION == "master" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion bin/classall
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Classifies all of the SIF problems in a directory.

Expand Down
2 changes: 1 addition & 1 deletion bin/classify
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# add the classification of the problem, whose name is
# given as an argument. to the CLASSF.DB file
Expand Down
2 changes: 1 addition & 1 deletion bin/cpfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -f
#!/usr/bin/env bash

# Copy file FILE to DESTFILE if FILE is present

Expand Down
2 changes: 1 addition & 1 deletion bin/install_sifdecode_alone
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Build script for sifdecode
# version for Bourne/bash shell
Expand Down
2 changes: 1 addition & 1 deletion bin/install_sifdecode_main
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# partial build script for sifdecode
# version for Bourne/bash shell
Expand Down
2 changes: 1 addition & 1 deletion bin/restore_links
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ -f ./README.trouble ]]; then
rm ./README.trouble; ln -s doc/README.trouble ./README.trouble
fi ;
Expand Down
2 changes: 1 addition & 1 deletion bin/restore_links.works
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
if [[ -f ./README.trouble ]]; then
rm ./README.trouble; ln -s ./doc/README.trouble ./README.trouble
fi ;
Expand Down
2 changes: 1 addition & 1 deletion bin/rmarfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -f
#!/usr/bin/env bash

# Remove the archive file FILE from the archive ARC if FILE is present

Expand Down
2 changes: 1 addition & 1 deletion bin/rmobfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -f
#!/usr/bin/env bash

# Remove the object file FILE from the directory FILEDIR if FILE is present

Expand Down
2 changes: 1 addition & 1 deletion bin/select
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Probes the classification file using slct. By default,
# the classification file is assumed to be $MASTSIF/CLASSF.DB,
Expand Down
2 changes: 1 addition & 1 deletion bin/showlinks
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Collect all symbolic links under the current directory and output a shell
# script that restores them. This is useful on systems that do not support
# true symbolic links, such as MSYS.
Expand Down
2 changes: 1 addition & 1 deletion bin/sifdecode_envcheck
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# locate the archdefs directory

Expand Down
2 changes: 1 addition & 1 deletion bin/sifdecoder
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# sifdecoder: script to decode a sif file
#
# N. Gould, D. Orban & Ph. Toint, November 7th, 2000
Expand Down
2 changes: 1 addition & 1 deletion bin/uninstall_sifdecode
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Remove script for sifdecode
# version for Bourne/bash shell
Expand Down
2 changes: 1 addition & 1 deletion bin/update_sifdecode
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

helpmsg() {

Expand Down
2 changes: 1 addition & 1 deletion man/man1/makedocs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/csh
#!/usr/bin/env csh

#foreach pack ( classall classify select sifdecoder )

Expand Down
2 changes: 1 addition & 1 deletion test/compare.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Helper functions.
processFortran() {
Expand Down

0 comments on commit 42d3241

Please sign in to comment.