Fixing bash scripts: moving '#!/bin/bash' to top.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
+2
-2
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
BASE=$(dirname $0)/../third-party/tools/cppcheck
|
BASE=$(dirname $0)/../third-party/tools/cppcheck
|
||||||
|
|
||||||
if [ ! -x $BASE/$(uname -m)/cppcheck ]
|
if [ ! -x $BASE/$(uname -m)/cppcheck ]
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "#define JERRY_MCU_SCRIPT \\" > $2
|
echo "#define JERRY_MCU_SCRIPT \\" > $2
|
||||||
cat $1 | while read line
|
cat $1 | while read line
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
git log --graph --branches --decorate \
|
git log --graph --branches --decorate \
|
||||||
--show-notes=perf --show-notes=mem --show-notes=test_build_env \
|
--show-notes=perf --show-notes=mem --show-notes=test_build_env \
|
||||||
--show-notes=arm-linux-perf \
|
--show-notes=arm-linux-perf \
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
status_code=$?
|
status_code=$?
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
GIT_STATUS_NOT_CLEAN_MSG="Git status of current directory is not clean"
|
GIT_STATUS_NOT_CLEAN_MSG="Git status of current directory is not clean"
|
||||||
GIT_STATUS_CONSIDER_CLEAN_MSG="Consider removing all untracked files, locally commiting all changes and running $0 again"
|
GIT_STATUS_CONSIDER_CLEAN_MSG="Consider removing all untracked files, locally commiting all changes and running $0 again"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
commit_first=$1
|
commit_first=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
ITERS=$1
|
ITERS=$1
|
||||||
ENGINE=$2
|
ENGINE=$2
|
||||||
BENCHMARK=$3
|
BENCHMARK=$3
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2015 Samsung Electronics Co., Ltd.
|
# Copyright 2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
MAKE="$1"
|
MAKE="$1"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014 Samsung Electronics Co., Ltd.
|
# Copyright 2014 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
JERRY=$1
|
JERRY=$1
|
||||||
TEST=$2
|
TEST=$2
|
||||||
RAW_OUTPUT=$3
|
RAW_OUTPUT=$3
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
ENGINE=$1
|
ENGINE=$1
|
||||||
|
|
||||||
function run ()
|
function run ()
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2015 Samsung Electronics Co., Ltd.
|
# Copyright 2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
ENGINE_PATH="$1"
|
ENGINE_PATH="$1"
|
||||||
OUTPUT_PATH="$2"
|
OUTPUT_PATH="$2"
|
||||||
TESTS_PATH="$3"
|
TESTS_PATH="$3"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
NUM_COMMITS=$1
|
NUM_COMMITS=$1
|
||||||
BENCH=./tests/benchmarks/jerry/loop_arithmetics_1kk.js
|
BENCH=./tests/benchmarks/jerry/loop_arithmetics_1kk.js
|
||||||
TARGET=release.linux
|
TARGET=release.linux
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
TIMEOUT=${TIMEOUT:=5}
|
TIMEOUT=${TIMEOUT:=5}
|
||||||
|
|
||||||
START_DIR=`pwd`
|
START_DIR=`pwd`
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
TARGET=$1
|
TARGET=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
TIMEOUT=${TIMEOUT:=5}
|
TIMEOUT=${TIMEOUT:=5}
|
||||||
|
|
||||||
START_DIR=`pwd`
|
START_DIR=`pwd`
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
# Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@@ -12,8 +14,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
DIR="$1"
|
DIR="$1"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user