Index: build/create_update_folder.sh =================================================================== diff -u -rf5981f329c2f790cf235ca63d5e5049032e6735a -r0ae2999cc6bbbffb1a3c57c9c90097831a376594 --- build/create_update_folder.sh (.../create_update_folder.sh) (revision f5981f329c2f790cf235ca63d5e5049032e6735a) +++ build/create_update_folder.sh (.../create_update_folder.sh) (revision 0ae2999cc6bbbffb1a3c57c9c90097831a376594) @@ -64,14 +64,13 @@ #copy the UI Software device binary to the root folder of the usb cp "$FOLDER_BIN"/"$DENALI_BIN" "$FOLDER_DST" +# Clone the cloud sync and checkout the wanted branch git clone ssh://git@dvm-linux02:7999/ui/cloudsync.git git --git-dir=cloudsync/.git checkout develop - +# Move the cloud sync to the destination folder mv cloudsync "$FOLDER_DST" - +# Find all the files that are git related and are hidden and remove them IFS=$'\n' read -r -d '' -a listOfHiddenGits < <(find "$FOLDER_DST" -name ".git*") -echo "Here is my folder $(pwd)" -echo "Files Of" "${listOfHiddenGits[@]}" for hidden in "${listOfHiddenGits[@]}" do