[LON-CAPA-cvs] cvs: loncom /homework/caparesponse commands

raeburn raeburn at source.lon-capa.org
Sun Apr 5 12:47:28 EDT 2015


raeburn		Sun Apr  5 16:47:28 2015 EDT

  Modified files:              
    /loncom/homework/caparesponse	commands 
  Log:
  - Eliminate ERROR (missing capa.bs) in WARNINGS when running make install  
    on Fedora21 and SuSE 13.2 (swig 3).
    - Empty capa.bs file added since swig 3 does not create one, to satisfy
      entry for loncom/homework/caparesponse/capa.bs in loncapafiles.lpml
  
  
Index: loncom/homework/caparesponse/commands
diff -u loncom/homework/caparesponse/commands:1.14 loncom/homework/caparesponse/commands:1.15
--- loncom/homework/caparesponse/commands:1.14	Tue Jul  1 17:57:08 2003
+++ loncom/homework/caparesponse/commands	Sun Apr  5 16:47:27 2015
@@ -52,4 +52,9 @@
 perl Makefile.PL 
 make -f Makefile 
 cp blib/arch/auto/capa/capa.so . 
-perl capa.pm     
+perl capa.pm
+swigver=`swig -version | perl -ne 'print $1 if /SWIG Version (\d+)\./i'`
+if [[ $swigver > 2 ]]
+then
+	echo -n "" > capa.bs
+fi




More information about the LON-CAPA-cvs mailing list