# HG changeset patch
# User Jeroen Demeyer
# Date 1345627968 7200
# Node ID 5cf1b7892199f41ee3ec34739b34fb35a9c39c9a
# Parent e51ea1fbeafe0ff111ae6605382c22fbceb1713e
Fix inline Fortran
diff git a/sageg77_shared b/sageinlinefortran
rename from sageg77_shared
rename to sageinlinefortran
 a/sageg77_shared
+++ b/sageinlinefortran
@@ 1,9 +1,10 @@
#!/usr/bin/env bash
+# Compile Fortran code within Sage,
+# see devel/sage/sage/misc/inline_fortran.py
+
if [ "$UNAME" = "Darwin" ]; then
 sage_fortran v bundle undefined dynamic_lookup $@
+ exec sage_fortran bundle undefined dynamic_lookup "$@"
else
 sage_fortran shared $@
+ exec sage_fortran shared "$@"
fi

exit $?