Browse Source

Merge pull request #497 from friesencr/shebangs_sh

Add shebangs to shell scripts.
Yao Wei Tjong 11 years ago
parent
commit
59a38bbdb6
8 changed files with 8 additions and 0 deletions
  1. 1 0
      Bin/Editor.sh
  2. 1 0
      Bin/NinjaSnowWar.sh
  3. 1 0
      Bin/UpdateDocument.sh
  4. 1 0
      cmake_clean.sh
  5. 1 0
      cmake_codeblocks.sh
  6. 1 0
      cmake_eclipse.sh
  7. 1 0
      cmake_ios.sh
  8. 1 0
      cmake_macosx.sh

+ 1 - 0
Bin/Editor.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 if [ $# -eq 0 ]
 if [ $# -eq 0 ]
 then
 then
     $( dirname $0 )/Urho3DPlayer Scripts/Editor.as -w -s
     $( dirname $0 )/Urho3DPlayer Scripts/Editor.as -w -s

+ 1 - 0
Bin/NinjaSnowWar.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 # To avoid cacophony of multiple background music when testing with multiple connections on the same test machine,
 # To avoid cacophony of multiple background music when testing with multiple connections on the same test machine,
 # start all the other non-headless connections with '-nobgm' argument.
 # start all the other non-headless connections with '-nobgm' argument.
 # E.g. 1 - headless server
 # E.g. 1 - headless server

+ 1 - 0
Bin/UpdateDocument.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 doxygen -v 1>/dev/null 2>&1
 doxygen -v 1>/dev/null 2>&1
 if [ $? -ne 0 ]; then echo "Could not update document because doxygen is not installed" && exit 1; fi
 if [ $? -ne 0 ]; then echo "Could not update document because doxygen is not installed" && exit 1; fi
 cd $( dirname $0 )
 cd $( dirname $0 )

+ 1 - 0
cmake_clean.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 #
 #
 # Copyright (c) 2008-2014 the Urho3D project.
 # Copyright (c) 2008-2014 the Urho3D project.
 #
 #

+ 1 - 0
cmake_codeblocks.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 #
 #
 # Copyright (c) 2008-2014 the Urho3D project.
 # Copyright (c) 2008-2014 the Urho3D project.
 #
 #

+ 1 - 0
cmake_eclipse.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 #
 #
 # Copyright (c) 2008-2014 the Urho3D project.
 # Copyright (c) 2008-2014 the Urho3D project.
 #
 #

+ 1 - 0
cmake_ios.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 #
 #
 # Copyright (c) 2008-2014 the Urho3D project.
 # Copyright (c) 2008-2014 the Urho3D project.
 #
 #

+ 1 - 0
cmake_macosx.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 #
 #
 # Copyright (c) 2008-2014 the Urho3D project.
 # Copyright (c) 2008-2014 the Urho3D project.
 #
 #