Skip to content

Commit

Permalink
shell: use more portable way to ensure bash
Browse files Browse the repository at this point in the history
pointed out by jjlauer (https://github.com/jjlauer)
  • Loading branch information
bbcallen committed Apr 29, 2014
1 parent 4dcd21c commit 17fbfe7
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion android/compile-ffmpeg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

# This script is based on projects below
# https://github.com/yixia/FFmpeg-Android
Expand Down
2 changes: 1 addition & 1 deletion android/compile-ijk.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

cd ijkmediaplayer
cd jni
Expand Down
2 changes: 1 addition & 1 deletion android/ndk-stack-ijkmp.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/sh
#! /usr/bin/env bash

adb logcat | ndk-stack -sym ijkmediaplayer/obj/local/armeabi-v7a
2 changes: 1 addition & 1 deletion android/setup-as-commiter.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

cd ffmpeg-armv7a

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

cd ffmpeg-armv7a

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

IJK_FFMPEG_UPSTREAM=git://git.videolan.org/ffmpeg.git
IJK_FFMPEG_FORK=https://github.com/bbcallen/FFmpeg.git
Expand Down
2 changes: 1 addition & 1 deletion init-ios.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

IJK_FFMPEG_UPSTREAM=git://git.videolan.org/ffmpeg.git
IJK_FFMPEG_FORK=https://github.com/bbcallen/FFmpeg.git
Expand Down
2 changes: 1 addition & 1 deletion ios/compile-ffmpeg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

#----------
# modify for your build tool
Expand Down
2 changes: 1 addition & 1 deletion ios/tools/do-compile-ffmpeg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

# This script is based on projects below
# https://github.com/kolyvan/kxmovie
Expand Down
2 changes: 1 addition & 1 deletion tools/ffmpeg-common-profiles.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

#--------------------
# Standard options:
Expand Down
2 changes: 1 addition & 1 deletion tools/pull-repo-base.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

REMOTE_REPO=$1
LOCAL_WORKSPACE=$2
Expand Down
2 changes: 1 addition & 1 deletion tools/pull-repo-ref.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

REMOTE_REPO=$1
LOCAL_WORKSPACE=$2
Expand Down
2 changes: 1 addition & 1 deletion tools/setup-as-commiter.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

git remote add gitcafe [email protected]:bbcallen/ijkplayer.git
git remote add oschina [email protected]:bbcallen/ijkplayer.git
Expand Down
2 changes: 1 addition & 1 deletion tools/sync-mirrors.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

git push origin --all --follow-tags
git push gitcafe --all --follow-tags
Expand Down

0 comments on commit 17fbfe7

Please sign in to comment.