Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash

This commit is contained in:
T. Joseph Carter 2015-02-16 19:19:30 -08:00
parent 3ee02549dd
commit 498bc87f9a
27 changed files with 3640 additions and 3625 deletions

1
.gitignore vendored
View File

@ -62,6 +62,7 @@
/libretro-virtualjaguar/
/libretro-yabause/
/libretro-dat-pull/
/libretro-sdk/
/libretrodb/
/retroarch/
/build-summary.log

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
. ./libretro-config.sh

View File

@ -1,4 +1,4 @@
#!/bin/bash
# vim: set ts=3 sw=3 noet ft=sh : bash
build_libretro_fba()
{

View File

@ -1,4 +1,4 @@
#!/bin/bash
# vim: set ts=3 sw=3 noet ft=sh : bash
die()
{

View File

@ -1,4 +1,4 @@
# vi: ts=3 sw=3 et ft=sh
# vim: set ts=3 sw=3 noet ft=sh : bash
die() {
echo $1

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
# BSDs don't have readlink -f
read_link()

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
set -e

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
set -e

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
SCRIPT=$(readlink -f $0)
BASE_DIR=$(dirname $SCRIPT)

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
SCRIPT=$(readlink -f $0)
BASE_DIR=$(dirname $SCRIPT)

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
SCRIPT=$(readlink -f $0)
BASE_DIR=$(dirname $SCRIPT)

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
SCRIPT=$(readlink -f $0)
BASE_DIR=$(dirname $SCRIPT)

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
SCRIPT=$(readlink -f $0)
BASE_DIR=$(dirname $SCRIPT)

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
BASE_DIR=$(pwd)
RARCH_DIR=$BASE_DIR/dist

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
BASE_DIR=$(pwd)
RARCH_DIR=$BASE_DIR/dist

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
BASE_DIR=$(pwd)
RARCH_DIR=$BASE_DIR/dist

View File

@ -1,5 +1,5 @@
#! /bin/bash
# vi: sw=3 ts=3 et
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
# BSDs don't have readlink -f
read_link()

View File

@ -1,5 +1,4 @@
#!/bin/bash
# vim: set ts=3 sw=3 noet ft=sh : bash
####usage:
# ./libretro-fetch-and-build.sh configfile

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
#$1 recipe
#$2 jobname

View File

@ -1,5 +1,4 @@
#!/bin/bash
# vi: ts=3 sw=3 et
# vim: set ts=3 sw=3 noet ft=sh : bash
# Architecture Assignment
config_cpu() {

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
update_header()
{

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
. ./libretro-config.sh

View File

@ -1,4 +1,5 @@
#!/bin/bash
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash
. ./libretro-config.sh