summaryrefslogtreecommitdiff
path: root/math/plplot/files/patch-scripts__CMakeLists.txt
blob: 309ba97912d5c8d10d0c0d75797cf13e4c70c206 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- scripts/CMakeLists.txt.orig
+++ scripts/CMakeLists.txt
@@ -28,9 +28,9 @@
     )
   endif(PLD_plmeta)
   if(PLD_pstex)
-    set(scripts_SCRIPTS ${scripts_SCRIPTS} pstex2eps)
+    set(scripts_SCRIPTS "${scripts_SCRIPTS}" pstex2eps)
   endif(PLD_pstex)
-  if (NOT ${scripts_SCRIPTS} STREQUAL "")
+  if (NOT "${scripts_SCRIPTS}" STREQUAL "")
     install(PROGRAMS ${scripts_SCRIPTS} DESTINATION ${BIN_DIR})
   endif (NOT ${scripts_SCRIPTS} STREQUAL "")
 endif(HAVE_BASH)