Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change default stack size in simgrid to 8MiB.
[simgrid.git] / src / smpi / smpiff.in
index bcb376f..13955eb 100644 (file)
@@ -1,5 +1,11 @@
 #! /bin/sh
 
+# Copyright (c) 2010-2014. The SimGrid Team.
+# All rights reserved.
+
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the license (GNU LGPL) which comes with this package.
+
 prefix="@exec_prefix@"
 smpicc="$prefix/bin/smpicc"
 smpif2c="$prefix/bin/smpif2c"
@@ -29,11 +35,11 @@ while [ $# -gt 0 ]; do
             ;;
     esac
 done
-list_add ARGS "${LINKARGS}"
+list_add_not_empty ARGS "${LINKARGS}"
 
 build () {
     local SRCFILE
-    SCFILE="$1"
+    SRCFILE="$1"
     TMPFILE=$(mymktemp "${SRCFILE}" ".f")
     CFILE="${TMPFILE%.f}.c"