mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	Merge pull request 'CMakeLists.txt: only copy tor binary if it has been changed' (#225) from blasty/feather:update_cmakelists into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/225
This commit is contained in:
		
						commit
						e058f3bad1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -191,7 +191,7 @@ if(TOR_BIN)
 | 
				
			||||||
    # - linux: See `Dockerfile`
 | 
					    # - linux: See `Dockerfile`
 | 
				
			||||||
    # - windows: https://github.com/mxe/mxe/blob/1024dc7d2db5eb7d5d3c64a2c12b5f592572f1ce/plugins/apps/tor.mk
 | 
					    # - windows: https://github.com/mxe/mxe/blob/1024dc7d2db5eb7d5d3c64a2c12b5f592572f1ce/plugins/apps/tor.mk
 | 
				
			||||||
    # - macos: taken from Tor Browser official release
 | 
					    # - macos: taken from Tor Browser official release
 | 
				
			||||||
    set(TOR_COPY_CMD "cp ${TOR_BIN} ${CMAKE_CURRENT_SOURCE_DIR}/src/assets/exec/tor")
 | 
					    set(TOR_COPY_CMD "cp -u ${TOR_BIN} ${CMAKE_CURRENT_SOURCE_DIR}/src/assets/exec/tor")
 | 
				
			||||||
    message(STATUS "${TOR_COPY_CMD}")
 | 
					    message(STATUS "${TOR_COPY_CMD}")
 | 
				
			||||||
    execute_process(COMMAND bash -c "${TOR_COPY_CMD}" RESULT_VARIABLE ret)
 | 
					    execute_process(COMMAND bash -c "${TOR_COPY_CMD}" RESULT_VARIABLE ret)
 | 
				
			||||||
    if(ret EQUAL "1")
 | 
					    if(ret EQUAL "1")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue