diff options
Diffstat (limited to 'storage/ndb/tools/make-links.sh')
-rwxr-xr-x | storage/ndb/tools/make-links.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/storage/ndb/tools/make-links.sh b/storage/ndb/tools/make-links.sh new file mode 100755 index 00000000000..e0c4f55986e --- /dev/null +++ b/storage/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 + + + |