summaryrefslogtreecommitdiff
path: root/scripts/make_lnk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make_lnk.sh')
-rw-r--r--scripts/make_lnk.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/make_lnk.sh b/scripts/make_lnk.sh
deleted file mode 100644
index 81a7dd5..0000000
--- a/scripts/make_lnk.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
-original_dir="$(pwd)"
-cd "$(dirname "$0")" || exit 1
-deploy_sh="$script_dir/dev/deploy.sh"
-dev_deploy_sh="$script_dir/dev/dev_deploy.sh"
-parent_dir="$(dirname "$script_dir")"
-
-if [ -f "$deploy_sh" ]; then
- link_path="$parent_dir/deploy"
- if [ -e "$link_path" ]; then
- rm -f "$link_path"
- fi
- ln -s "$deploy_sh" "$link_path"
-fi
-
-if [ -f "$dev_deploy_sh" ]; then
- link_path="$parent_dir/dev"
- if [ -e "$link_path" ]; then
- rm -f "$link_path"
- fi
- ln -s "$dev_deploy_sh" "$link_path"
-fi
-
-cd "$original_dir" || exit 1