diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..551a283 --- /dev/null +++ b/install.sh @@ -0,0 +1,16 @@ + +CurrentDir="$(readlink -f ".")" + +ScriptDir="$(dirname "$(readlink -f "$0")")" +cd "$ScriptDir" + +Dir="$CurrentDir/linuxhmh" +rm -rf "$Dir" +mkdir "$Dir" + +Files="$(find "$ScriptDir" -type f \( -iname '*.cpp' -o -iname '*.c' -o -iname '*.h' \))" + +for File in $Files +do + ln -sf "$File" "$Dir" +done |
