File: pufferfish

package info (click to toggle)
salmon 1.10.2%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 35,580 kB
  • sloc: cpp: 199,285; ansic: 171,082; sh: 859; python: 792; makefile: 235
file content (18 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Michael R. Crusoe <crusoe@debian.org>
Description: Use local copy of pufferfish source for now
Forwarded: not-needed
--- salmon.orig/CMakeLists.txt
+++ salmon/CMakeLists.txt
@@ -311,11 +311,7 @@
 #
 ####
 if(NOT FETCHED_PUFFERFISH)
-  exec_program(${CMAKE_CURRENT_SOURCE_DIR}/scripts/fetchPufferfish.sh RETURN_VALUE FETCH_PF_SCRIPT_RET)
-  message(STATUS "fetch PUFFERFISH exit code ${FETCH_PF_SCRIPT_RET}")
-  if(NOT (FETCH_PF_SCRIPT_RET EQUAL 0))
-    message(FATAL_ERROR "Could not fetch pufferfish source [fetchPufferfish.sh returned exit code ${FETCH_PF_SCRIPT_RET}].")
-  endif()
+  exec_program(cp ${CMAKE_CURRENT_SOURCE_DIR} ARGS -r ./debian/external ./ RETURN_VALUE FETCH_PF_SCRIPT_RET)
   set(FETCHED_PUFFERFISH TRUE CACHE BOOL "Has pufferfish been fetched?" FORCE)
 endif()