diff --git a/dap4_test/maketests.sh b/dap4_test/maketests.sh index 29cf30cf6..1ad1a09b2 100755 --- a/dap4_test/maketests.sh +++ b/dap4_test/maketests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # The purpose of this program is to fill in the # testdata files: dmrtestfiles, daptestfiles, and diff --git a/dap4_test/test_raw.sh b/dap4_test/test_raw.sh index f1e055c8d..a23b22c93 100755 --- a/dap4_test/test_raw.sh +++ b/dap4_test/test_raw.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ../test_common.sh diff --git a/nc_test/make_test_file.sh b/nc_test/make_test_file.sh index 119ee5fca..39ecd4469 100755 --- a/nc_test/make_test_file.sh +++ b/nc_test/make_test_file.sh @@ -1,2 +1,2 @@ #! /bin/sh -./nc_test -c \ No newline at end of file +./nc_test -c diff --git a/nc_test/run_diskless2.sh b/nc_test/run_diskless2.sh index f0af591cc..3c1a67f01 100755 --- a/nc_test/run_diskless2.sh +++ b/nc_test/run_diskless2.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ../test_common.sh diff --git a/nc_test4/clear_cache.sh b/nc_test4/clear_cache.sh index f6c918fdf..fab40eea8 100755 --- a/nc_test4/clear_cache.sh +++ b/nc_test4/clear_cache.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/sh -x # Clear the disk caches. sync echo 3 > /proc/sys/vm/drop_caches diff --git a/nc_test4/run_par_bm_radar_2D.sh b/nc_test4/run_par_bm_radar_2D.sh index b8741d127..f44c09980 100755 --- a/nc_test4/run_par_bm_radar_2D.sh +++ b/nc_test4/run_par_bm_radar_2D.sh @@ -22,4 +22,4 @@ for numproc in 1 4 16 done echo '*** SUCCESS!!!' -exit 0 \ No newline at end of file +exit 0 diff --git a/nc_test4/tst_filter.sh b/nc_test4/tst_filter.sh index 36df9dbde..2250c039e 100755 --- a/nc_test4/tst_filter.sh +++ b/nc_test4/tst_filter.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh export SETX=1 diff --git a/ncdump/tst_hdf5_offset.sh b/ncdump/tst_hdf5_offset.sh index 96e8ddbf1..ff37ca707 100755 --- a/ncdump/tst_hdf5_offset.sh +++ b/ncdump/tst_hdf5_offset.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ../test_common.sh diff --git a/ncdump/tst_nccopy3_subset.sh b/ncdump/tst_nccopy3_subset.sh index 16482ed49..598096666 100755 --- a/ncdump/tst_nccopy3_subset.sh +++ b/ncdump/tst_nccopy3_subset.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Added in support of https://github.com/Unidata/netcdf-c/gh425 and # https://github.com/Unidata/netcdf-c/gh469 diff --git a/ncdump/tst_nccopy4.sh b/ncdump/tst_nccopy4.sh index 53797c4d8..80bc6ac3e 100755 --- a/ncdump/tst_nccopy4.sh +++ b/ncdump/tst_nccopy4.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ../test_common.sh diff --git a/ncdump/tst_nccopy5.sh b/ncdump/tst_nccopy5.sh index 88f0979bb..bc92c24f2 100755 --- a/ncdump/tst_nccopy5.sh +++ b/ncdump/tst_nccopy5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if test "x$srcdir" = x ; then srcdir=`pwd`; fi . ../test_common.sh diff --git a/ncdump/tst_ncgen4.sh b/ncdump/tst_ncgen4.sh index 06e481a36..387a2db23 100755 --- a/ncdump/tst_ncgen4.sh +++ b/ncdump/tst_ncgen4.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Tests for ncgen4 using list of test cdl files from the cdl4 # directory, and comparing output to expected results in the expected4 # directory. Note that these tests are run for classic files in diff --git a/ncdump/tst_netcdf4.sh b/ncdump/tst_netcdf4.sh index 8d1a30b26..ea8514584 100755 --- a/ncdump/tst_netcdf4.sh +++ b/ncdump/tst_netcdf4.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # This shell script tests ncdump for netcdf-4 # Ed Hartnett, Dennis Heimbigner, Ward Fisher diff --git a/ncgen/makeparser.sh b/ncgen/makeparser.sh index 644a8beca..f4f2866d8 100644 --- a/ncgen/makeparser.sh +++ b/ncgen/makeparser.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh flex -Pncg -8 ncgen.l rm -f ncgenl.c sed -e s/lex.ncg.c/ncgenl.c/g ncgenl.c