summaryrefslogtreecommitdiff
path: root/scriptlets/ct_self_linker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scriptlets/ct_self_linker.sh')
-rwxr-xr-xscriptlets/ct_self_linker.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scriptlets/ct_self_linker.sh b/scriptlets/ct_self_linker.sh
new file mode 100755
index 0000000..b0e9198
--- /dev/null
+++ b/scriptlets/ct_self_linker.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+link=$(readlink -- "$0")
+
+if [ -n "$link" ]; then
+ echo "$link"
+else
+ echo "gweh"
+fi