Index: build/create_update_folder.sh =================================================================== diff -u -rc2e445195b1fe1c497a55074b27cb04f3f0b8def -r812c3677ab1df9b01ae8de584ea81834b74d9300 --- build/create_update_folder.sh (.../create_update_folder.sh) (revision c2e445195b1fe1c497a55074b27cb04f3f0b8def) +++ build/create_update_folder.sh (.../create_update_folder.sh) (revision 812c3677ab1df9b01ae8de584ea81834b74d9300) @@ -75,8 +75,10 @@ cd "$TEMP_DIR" || return # Clone the cloud sync and checkout the wanted branch git clone ssh://git@devapps.diality.us:7999/ui/cloudsync.git -git --git-dir=cloudsync/.git checkout staging +cd cloudsync +git checkout staging cd .. +cd .. # Move the cloud sync to the destination folder cp -r "$TEMP_DIR"/* "$FOLDER_DST"/"$CLOUD_SYNC" # Find all the files that are git related and are hidden and remove them