summaryrefslogtreecommitdiff
path: root/squashfs_utils
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2015-06-24 13:04:29 -0700
committerMohamad Ayyash <mkayyash@google.com>2015-06-24 13:05:25 -0700
commitbaa6e454966e33941dddfe21129e4b40dfdad3ca (patch)
tree492fca0c5be28468bb1c28780b069322f603768b /squashfs_utils
parent684f65f8602d1e1a79170984acc18421fb8f4c98 (diff)
downloadextras-baa6e454966e33941dddfe21129e4b40dfdad3ca.tar.gz
mksquashfsimage.sh: Add forward slash for SRC_DIR
There is a bug in mksquashfs that fails to interpret symlink dirs unless they have a forward slash Change-Id: I64df07d99858a792e1d7af5d11234fe8b75f91ae Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Diffstat (limited to 'squashfs_utils')
-rwxr-xr-xsquashfs_utils/mksquashfsimage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfs_utils/mksquashfsimage.sh b/squashfs_utils/mksquashfsimage.sh
index 7f96cb1f..dbf71669 100755
--- a/squashfs_utils/mksquashfsimage.sh
+++ b/squashfs_utils/mksquashfsimage.sh
@@ -53,7 +53,7 @@ if [ -n "$BLOCK_SIZE" ]; then
OPT="$OPT -b $BLOCK_SIZE"
fi
-MAKE_SQUASHFS_CMD="mksquashfs $SRC_DIR $OUTPUT_FILE -no-progress -comp lz4 -Xhc -no-exports -noappend -no-recovery -android-fs-config $OPT"
+MAKE_SQUASHFS_CMD="mksquashfs $SRC_DIR/ $OUTPUT_FILE -no-progress -comp lz4 -Xhc -no-exports -noappend -no-recovery -android-fs-config $OPT"
echo $MAKE_SQUASHFS_CMD
$MAKE_SQUASHFS_CMD
if [ $? -ne 0 ]; then