Files
concrete/compilers/concrete-compiler/docs/symlink_md.bash
2023-03-03 09:20:01 +01:00

18 lines
308 B
Bash
Executable File

#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "You must provide the compiler build directory"
exit 1
fi
mkdir -p links_to_compiler_build/md
cd links_to_compiler_build/md
yourfilenames=`find $1/tools/concretelang/docs/concretelang -name "*.md"`
for entry in $yourfilenames
do
ln -s "$entry" -f
done