feat(scripts): allow command failed
This commit is contained in:
		
							parent
							
								
									e1f7e9b22d
								
							
						
					
					
						commit
						44446f91c1
					
				|  | @ -11,7 +11,9 @@ for submodule in $submodules; do | ||||||
|     repo_name=$(echo $url | rev | cut -d'/' -f 1 | rev | cut -d'.' -f 1) |     repo_name=$(echo $url | rev | cut -d'/' -f 1 | rev | cut -d'.' -f 1) | ||||||
|     submodule_dir="$submodules_dir/$repo_name/$submodule" |     submodule_dir="$submodules_dir/$repo_name/$submodule" | ||||||
|     cd $submodule_dir |     cd $submodule_dir | ||||||
|  |     set +e | ||||||
|     eval "$command" |     eval "$command" | ||||||
|  |     set -e | ||||||
|     if [[ $command == $JOJ3 ]]; then |     if [[ $command == $JOJ3 ]]; then | ||||||
|         if [ -f "./expected.json" ]; then |         if [ -f "./expected.json" ]; then | ||||||
|             mv -f "joj3_result.json" "expected.json" |             mv -f "joj3_result.json" "expected.json" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user