check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
export INSTALL_ROOT=$INSTALL_ROOT_BACKUP
-for b in `ls ${PRODUCT_WORK}/bin`; do
+for b in `find bin -mindepth 1 -maxdepth 1 -name "*"`; do
+ b=`basename $b`;
if [ ! -e ${PRODUCT_DIR}/bin/$b ] || [ -h ${PRODUCT_DIR}/bin/$b ]; then
if [ -h ${PRODUCT_DIR}/bin/$b ]; then
rm -f ${PRODUCT_DIR}/bin/$b
export INSTALL_ROOT=$INSTALL_ROOT_BACKUP
-for b in `ls ${PRODUCT_WORK}/bin`; do
+for b in `find bin -mindepth 1 -maxdepth 1 -name "*"`; do
+ b=`basename $b`;
if [ ! -e ${PRODUCT_DIR}/bin/$b ] || [ -h ${PRODUCT_DIR}/bin/$b ]; then
if [ -h ${PRODUCT_DIR}/bin/$b ]; then
rm -f ${PRODUCT_DIR}/bin/$b