From 97d642004a148477f082598f59429889f95f322e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 19 Oct 2016 01:15:15 +0200 Subject: Resolve #3: remove warnings at first run --- make_abc.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 make_abc.sh (limited to 'make_abc.sh') diff --git a/make_abc.sh b/make_abc.sh new file mode 100755 index 0000000..3d386d7 --- /dev/null +++ b/make_abc.sh @@ -0,0 +1,15 @@ +#!/bin/bash +libs="ArgEnv Directory Dynamics Gast Generics MersenneTwister StdEnv StdLib TCPIP clean-platform/OS-Independent clean-platform/OS-Posix clean-platform/OS-Linux clean-platform/OS-Linux-64 clean-platform/OS-Independent/Deprecated/StdLib" +shopt -s globstar +for lib in $libs +do + dir="/opt/clean/lib/$lib/" + cd "$dir" + for mod in **/*.icl + do + if [[ "$mod" == "**/*.icl" ]]; then continue; fi + mod="${mod/.icl/}" + mod="${mod/\//.}" + clm $(echo "-I /opt/clean/lib/${libs// / -I \/opt\/clean\/lib\/}") -ABC "$mod" + done +done -- cgit v1.2.3