diff --git a/samples/Cpp/HelloCpp/proj.android/jni/list.sh b/samples/Cpp/HelloCpp/proj.android/jni/list.sh index b95448ebbb..b29f678cb8 100644 --- a/samples/Cpp/HelloCpp/proj.android/jni/list.sh +++ b/samples/Cpp/HelloCpp/proj.android/jni/list.sh @@ -1,23 +1,23 @@ -#!/bin/bash - -append_str=' \' - -list_alldir() -{ - for file in $1/* - do - if [ -f $file ]; then - echo $file$append_str | grep .cpp - fi - - if [ -d $file ]; then - list_alldir $file - fi - done -} - -if [ $# -gt 0 ]; then - list_alldir "$1" -else - list_alldir "." -fi \ No newline at end of file +#!/bin/bash + +append_str=' \' + +list_alldir() +{ + for file in $1/* + do + if [ -f $file ]; then + echo $file$append_str | grep .cpp + fi + + if [ -d $file ]; then + list_alldir $file + fi + done +} + +if [ $# -gt 0 ]; then + list_alldir "$1" +else + list_alldir "." +fi diff --git a/samples/Cpp/SimpleGame/proj.android/jni/list.sh b/samples/Cpp/SimpleGame/proj.android/jni/list.sh index b95448ebbb..b29f678cb8 100644 --- a/samples/Cpp/SimpleGame/proj.android/jni/list.sh +++ b/samples/Cpp/SimpleGame/proj.android/jni/list.sh @@ -1,23 +1,23 @@ -#!/bin/bash - -append_str=' \' - -list_alldir() -{ - for file in $1/* - do - if [ -f $file ]; then - echo $file$append_str | grep .cpp - fi - - if [ -d $file ]; then - list_alldir $file - fi - done -} - -if [ $# -gt 0 ]; then - list_alldir "$1" -else - list_alldir "." -fi \ No newline at end of file +#!/bin/bash + +append_str=' \' + +list_alldir() +{ + for file in $1/* + do + if [ -f $file ]; then + echo $file$append_str | grep .cpp + fi + + if [ -d $file ]; then + list_alldir $file + fi + done +} + +if [ $# -gt 0 ]; then + list_alldir "$1" +else + list_alldir "." +fi