forked from pool/Modules
dc34d72939
fix bashism in add.modules script OBS-URL: https://build.opensuse.org/request/show/261957 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/Modules?expand=0&rev=21
13 lines
464 B
Diff
13 lines
464 B
Diff
diff -Ndur modules-3.2.10/etc/add.modules.in modules-3.2.10-fix-bashisms/etc/add.modules.in
|
|
--- modules-3.2.10/etc/add.modules.in 2012-11-02 00:22:06.000000000 +0200
|
|
+++ modules-3.2.10-fix-bashisms/etc/add.modules.in 2014-11-16 22:48:55.863380526 +0200
|
|
@@ -114,7 +114,7 @@
|
|
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.$$ ]
|