- # Get current directory
- this_script_directory=$(cd `dirname $0` && pwd);
- # Update git submodules merging remote version into local one
- git submodule update --remote --merge;
- # Delete the outdated folder
- rm -r $this_script_directory/static/image-editor;
- # Copy the updated folder
- cp -r $this_script_directory/image-editor/src $this_script_directory/static/image-editor;
|