File modules-4.1.2-fix-bashisms.patch of Package Modules

Index: compat/etc/add.modules.in
===================================================================
--- compat/etc/add.modules.in.orig	2018-03-31 18:22:47.000000000 +0200
+++ compat/etc/add.modules.in	2018-04-16 21:28:35.703722251 +0200
@@ -114,7 +114,7 @@ fi
 					findload $1.old
 					/bin/cat > $1 <<!
 if ( -e $ETC/csh.modules ) then
-	source $ETC/csh.modules
+	. $ETC/csh.modules
 # put your own module loads here
 !
 				if [ -s /tmp/load.$$ ]
openSUSE Build Service is sponsored by