yaffs direct: Fix opening of a directory.
[yaffs2.git] / direct / handle_common.sh
index be9d122815f0e3f16ab7107b371ccb0b51f85f2b..1da0c752abe0251d6670715ebc68f8c05df388e7 100755 (executable)
@@ -14,12 +14,14 @@ YAFFS_COMMON_SOURCES="\
           yaffs_yaffs1.c yaffs_yaffs1.h \
           yaffs_yaffs2.c yaffs_yaffs2.h \
           yaffs_bitmap.c yaffs_bitmap.h \
+          yaffs_endian.c yaffs_endian.h \
           yaffs_verify.c yaffs_verify.h \
           yaffs_summary.c yaffs_summary.h \
           "
 
 
 if [ "$1" = "copy" ] ; then
+set -e -x
        for i in $YAFFS_COMMON_SOURCES ; do
                sed ../$i \
                -e "s/strcat/yaffs_strcat/g" \