We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37d7b3 commit b6b5958Copy full SHA for b6b5958
build.sh
@@ -25,7 +25,9 @@ function create_frozen_fs {
25
echo "The frozen directory will be named: $DIR_NAME_ON_BOARD"
26
echo "The output file will be: $OUTPUT_FILE"
27
28
- cp -r $DIR_TO_FREEZE $DIR_NAME_ON_BOARD
+ if [ $DIR_TO_FREEZE != $DIR_NAME_ON_BOARD ]; then
29
+ cp -r $DIR_TO_FREEZE $DIR_NAME_ON_BOARD
30
+ fi
31
32
# Use on-import=extract so our frozen filesystem is unpacked to '/' in flash on import
33
# Use --compress to compress the frozen filesystem archive
0 commit comments