summaryrefslogtreecommitdiff
path: root/scripts/link.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/link.sh')
-rwxr-xr-xscripts/link.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/link.sh b/scripts/link.sh
index 4a472828f3e9..7d95f866e17b 100755
--- a/scripts/link.sh
+++ b/scripts/link.sh
@@ -32,6 +32,11 @@ usage() {
exit 1
}
+script="$0"
+scriptdir=$(dirname "$script")
+
+. "$scriptdir/functions.sh"
+
# Command-line processing.
test "$#" -gt 1 || usage