Queer European MD passionate about IT

update_image_editor.sh 372 B

1234567891011
  1. # Get current directory
  2. this_script_directory=$(cd `dirname $0` && pwd);
  3. # Update git submodules merging remote version into local one
  4. git submodule update --remote --merge;
  5. # Delete the outdated folder
  6. rm -r $this_script_directory/static/image-editor;
  7. # Copy the updated folder
  8. cp -r $this_script_directory/image-editor/src $this_script_directory/static/image-editor;