summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.template b/build.template
index fa4d8bd..34f06db 100644
--- a/build.template
+++ b/build.template
@@ -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