In /usr/bin/nspr-config line 30:
	exit $1
             ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	exit "$1"


In /usr/bin/nspr-config line 43:
  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
               ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  -*=*) optarg=$(echo "$1" | sed 's/[-_a-zA-Z0-9]*=//') ;;


In /usr/bin/nspr-config line 109:
    echo $prefix
         ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    echo "$prefix"


In /usr/bin/nspr-config line 113:
    echo $exec_prefix
         ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    echo "$exec_prefix"


In /usr/bin/nspr-config line 141:
	if echo $i | grep \^-L >/dev/null; then
                ^-- SC2086: Double quote to prevent globbing and word splitting.
                          ^-- SC1001: This \^ will be a regular '^' in this context.

Did you mean: 
	if echo "$i" | grep \^-L >/dev/null; then


In /usr/bin/nspr-config line 145:
      echo $libdirs -lpthread -ldl 
           ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
      echo "$libdirs" -lpthread -ldl 

For more information:
  https://www.shellcheck.net/wiki/SC1001 -- This \^ will be a regular '^' in ...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
  https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...