summaryrefslogtreecommitdiff
path: root/ndb/tools/make-links.sh
diff options
context:
space:
mode:
authorpem@mysql.com <>2004-05-07 18:52:06 +0200
committerpem@mysql.com <>2004-05-07 18:52:06 +0200
commitbf45960eef96dba7e7a7ffc8c3bfe6627daee2a3 (patch)
tree2f7b236a8721d14f1b398964b898d922fd133131 /ndb/tools/make-links.sh
parente1182c5226ce1c5f5aff4c1e59798b9d3dccde2a (diff)
parentdf8e3eac456b14b420f724e658eee175d2ee5e57 (diff)
downloadmariadb-git-bf45960eef96dba7e7a7ffc8c3bfe6627daee2a3.tar.gz
Merge 4.1 -> 5.0
Diffstat (limited to 'ndb/tools/make-links.sh')
-rwxr-xr-xndb/tools/make-links.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/ndb/tools/make-links.sh b/ndb/tools/make-links.sh
new file mode 100755
index 00000000000..e0c4f55986e
--- /dev/null
+++ b/ndb/tools/make-links.sh
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+# 1 - Link top src
+# 2 - Link dst
+
+if [ $# -lt 2 ]
+then
+ exit 0
+fi
+
+name=`basename $2`
+files=`find $1/$name -type f -name '*.h*'`
+
+for i in $files
+do
+ ln -s $i $2/`basename $i`
+done
+
+
+