Index: build/create_update_folder.sh =================================================================== diff -u -ree8def4767355f1424798bb13d8414d2af553ead -r91b489e733f7d4ca47caf103b7022768acf6e11b --- build/create_update_folder.sh (.../create_update_folder.sh) (revision ee8def4767355f1424798bb13d8414d2af553ead) +++ build/create_update_folder.sh (.../create_update_folder.sh) (revision 91b489e733f7d4ca47caf103b7022768acf6e11b) @@ -47,10 +47,13 @@ #create the destination folder mkdir -p "$FOLDER_DST" -#copy the required folders +# Copy the required folders cp -r "$FOLDER_SRC"/"$FOLDER_SCR" "$FOLDER_DST" cp -r "$FOLDER_SRC"/"$FOLDER_FNT" "$FOLDER_DST" +# The settings folder is a symbolically linked folder so L is used to copy the contents +# and not the link cp -rL "$FOLDER_SRC"/"$FOLDER_SET" "$FOLDER_DST" +rm -rf "$FOLDER_DST"/"$FOLDER_SET"/.git #move the setup scrips to the root folder of the usb mv "$FOLDER_DST"/"$FOLDER_SCR"/"$SCRIPT_SU1" "$FOLDER_DST"