diff options
Diffstat (limited to 'setup-makefiles.sh')
-rwxr-xr-x | setup-makefiles.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 179e990..8b75338 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -44,8 +44,8 @@ PRODUCT_COPY_FILES += \\ EOF LINEEND=" \\" -COUNT=`cat proprietary-common-files.txt | grep -v ^# | grep -v ^$ | wc -l | awk {'print $1'}` -for FILE in `cat proprietary-common-files.txt | grep -v ^# | grep -v ^$`; do +COUNT=`cat ../p5100/proprietary-common-files.txt | grep -v ^# | grep -v ^$ | wc -l | awk {'print $1'}` +for FILE in `cat ../p5100/proprietary-common-files.txt | grep -v ^# | grep -v ^$`; do COUNT=`expr $COUNT - 1` if [ $COUNT = "0" ]; then LINEEND="" |