summaryrefslogtreecommitdiff
path: root/scriptlets/ct_self_linker.sh
diff options
context:
space:
mode:
authorダカマ <dakama@kakeranoumi.xyz>2025-06-02 13:08:46 +0200
committerダカマ <dakama@kakeranoumi.xyz>2025-06-02 13:08:46 +0200
commit14a892e627a375334a02381351f139d94ad7ecf3 (patch)
treee7c1ee5040f3076f57401b3b9e9eb567e2ecfb1a /scriptlets/ct_self_linker.sh
First dumpHEADmaster
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