Skip to content

Commit 85daf63

Browse files
committed
Add force remove to rm old petalinux project dir
quenches the prompts for removing protected files Signed-off-by: Holotronic <producer@holotronic.dk>
1 parent 541f1dc commit 85daf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HW/VivadoProjects/make_mpsoc_boot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ esac
4141

4242
# Delete any old project artifacts folder
4343
PRJ_DIR_CREATED=./"$1"-mk-2019.1
44-
[ -d "$PRJ_DIR_CREATED" ] && rm -r "$PRJ_DIR_CREATED"
44+
[ -d "$PRJ_DIR_CREATED" ] && rm -rf "$PRJ_DIR_CREATED"
4545

4646
petalinux-create -t project -s "$1"-mk-2019.1.bsp
4747
cd "$1"-mk-2019.1

0 commit comments

Comments
 (0)