aboutsummaryrefslogtreecommitdiffstats
path: root/do-link
diff options
context:
space:
mode:
Diffstat (limited to 'do-link')
-rwxr-xr-xdo-link5
1 files changed, 2 insertions, 3 deletions
diff --git a/do-link b/do-link
index 189e899..76ca11b 100755
--- a/do-link
+++ b/do-link
@@ -1,8 +1,7 @@
#!/usr/bin/env bash
set -e
-type=$1
-. "$2" # .do file which we are "interpreting"
+. "$1" # .do file which we are "interpreting"
redo-ifchange "$0" "link-$type.tool" "${objects[@]}"
-shift 2
+shift
. "./link-$type.tool"
"${cmd[@]}"