trivial diff: use . instead of source in shell scripts

View: New views
1 Messages — Rating Filter:   Alert me  

trivial diff: use . instead of source in shell scripts

by Peter Wang-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tests/analysis/ctgc/reuse_runtest.sh:
tests/analysis/excp/excp_runtest.sh:
tests/analysis/ext/ext2_runtest.sh:
tests/analysis/ext/ext_runtest.sh:
tests/analysis/sharing/sharing_runtest.sh:
tests/analysis/table/table_runtest.sh:
tests/analysis/trail/trail_runtest.sh:
tests/analysis/unused_args/unused_args_runtest.sh:
        Use `.' command instead of `source' as the latter is not portable.

diff --git a/tests/analysis/ctgc/reuse_runtest.sh b/tests/analysis/ctgc/reuse_runtest.sh
index f4a6058..2791de6 100755
--- a/tests/analysis/ctgc/reuse_runtest.sh
+++ b/tests/analysis/ctgc/reuse_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test the structure reuse analysis with the intermodule analysis framework.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x
diff --git a/tests/analysis/excp/excp_runtest.sh b/tests/analysis/excp/excp_runtest.sh
index 6401e9b..c62b35f 100755
--- a/tests/analysis/excp/excp_runtest.sh
+++ b/tests/analysis/excp/excp_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test exception analysis with intermodule analysis framework.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x
diff --git a/tests/analysis/ext/ext2_runtest.sh b/tests/analysis/ext/ext2_runtest.sh
index fa81711..16097b9 100755
--- a/tests/analysis/ext/ext2_runtest.sh
+++ b/tests/analysis/ext/ext2_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test handling of :- external procedures with intermodule analysis.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x
diff --git a/tests/analysis/ext/ext_runtest.sh b/tests/analysis/ext/ext_runtest.sh
index a5a65ae..a65295c 100755
--- a/tests/analysis/ext/ext_runtest.sh
+++ b/tests/analysis/ext/ext_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test handling of :- external procedures with intermodule analysis.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x
diff --git a/tests/analysis/sharing/sharing_runtest.sh b/tests/analysis/sharing/sharing_runtest.sh
index 59f6971..5876577 100755
--- a/tests/analysis/sharing/sharing_runtest.sh
+++ b/tests/analysis/sharing/sharing_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test structure sharing analysis with intermodule analysis framework.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x
diff --git a/tests/analysis/table/table_runtest.sh b/tests/analysis/table/table_runtest.sh
index 25ee8db..ac7b8a0 100755
--- a/tests/analysis/table/table_runtest.sh
+++ b/tests/analysis/table/table_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test --analyse-mm-tabling with the intermodule analysis framework.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x
diff --git a/tests/analysis/trail/trail_runtest.sh b/tests/analysis/trail/trail_runtest.sh
index 065f666..8c91ab5 100755
--- a/tests/analysis/trail/trail_runtest.sh
+++ b/tests/analysis/trail/trail_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test trail usage analysis with the intermodule analysis framework.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x
diff --git a/tests/analysis/unused_args/unused_args_runtest.sh b/tests/analysis/unused_args/unused_args_runtest.sh
index 0211312..c9a453e 100755
--- a/tests/analysis/unused_args/unused_args_runtest.sh
+++ b/tests/analysis/unused_args/unused_args_runtest.sh
@@ -3,7 +3,7 @@
 #-----------------------------------------------------------------------------#
 # Test unused argument optimisation with intermodule analysis framework.
 
-source ../common.sh
+. ../common.sh
 
 set -e
 set -x

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews@...
Administrative Queries: owner-mercury-reviews@...
Subscriptions:          mercury-reviews-request@...
--------------------------------------------------------------------------
LightInTheBox - Buy quality products at wholesale price!