u
This commit is contained in:
		
							parent
							
								
									fce109d02d
								
							
						
					
					
						commit
						08fdf3c3fa
					
				| @ -4,9 +4,6 @@ read -p "Enter old hook path: >> " OLDPATH | ||||
| read -p "Enter new hook path: >> " NEWPATH | ||||
| read -p "Enter repository root path: >> " REPOROOT | ||||
| 
 | ||||
| echo '$REPOROOT' | ||||
| echo "$REPOROOT" | ||||
| 
 | ||||
| sed -i "s:$OLDPATH:$NEWPATH:g" `grep "$OLDPATH" -rl $REPOROOT/*/*/hooks/` | ||||
| 
 | ||||
| echo "Completed replacing $OLDPATH to $NEWPATH recursively in folder $REPOROOT" | ||||
|  | ||||
| @ -1,2 +1,6 @@ | ||||
| 
 | ||||
| # install | ||||
| # sudo apt install subversion -y | ||||
| 
 | ||||
| # 不能用 PM2 启动,会报错端口号被占用。可能因为svnserve本身就已经是服务。 | ||||
| svnserve -d -r ./svn.repo | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user