Fix error
authorhyokeun <hyokeun.jeon@samsung.com>
Thu, 6 Sep 2018 02:36:57 +0000 (11:36 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Thu, 6 Sep 2018 02:36:57 +0000 (11:36 +0900)
Change-Id: I74ad588c2d554dfc13097bcac2a07834dfcbf987

build.template

index fa4d8bd..34f06db 100644 (file)
@@ -67,7 +67,7 @@ for rs in $rs_list; do
   #else
     su - build -c "${ABS_CMD} build -r $rs -w ${BUILD_ROOT}/${PACKAGE} -s ABS -c ${BUILD_MODE} ${PARALLEL_JOBS} --profile-to-search ${PROFILE}"
   #fi
-  count=`ls -1 *.tpk 2>/dev/null | wc -l`
+  count=`ls -1 ${TMP_DIR}/*.tpk 2>/dev/null | wc -l`
   if [ $count != 0 ]; then
     mv ${TMP_DIR}/*.tpk ${SHARE_ROOT}
   else