From 03e013464428ff740ccafa1487030b594a3b096b Mon Sep 17 00:00:00 2001 From: Dave Kennedy Date: Tue, 26 Jan 2016 15:49:29 -0700 Subject: [PATCH] Fixed #3 --- mkstage4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkstage4.sh b/mkstage4.sh index 4245a91..ac78a9a 100755 --- a/mkstage4.sh +++ b/mkstage4.sh @@ -92,7 +92,7 @@ EXCLUDES="\ if [ "$TARGET" == "/" ] then - EXCLUDES+=" --exclude=$STAGE4_FILENAME" + EXCLUDES+=" --exclude=${STAGE4_FILENAME#/}" fi if [ ${EXCLUDE_CONNMAN} -eq 1 ]