summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-30 04:36:01 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-30 04:36:01 +0900
commit8b845deb31b95f31b502c506f31f078de14c31d5 (patch)
tree301808d268bf4b5ef5934cb138d94eacef10a1ef
parent306b52e4968dad53748b05afaa4ebef39716148e (diff)
modified bin/compiler
-rwxr-xr-xar/.local/bin/compiler2
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/compiler b/ar/.local/bin/compiler
index 39beb6b..caf970d 100755
--- a/ar/.local/bin/compiler
+++ b/ar/.local/bin/compiler
@@ -12,7 +12,7 @@
# config.h files: (For suckless utils) recompiles and installs program.
# all others: run `sent` to show a presentation
-file="${1}"
+file=$(readlink -f "$1")
ext="${file##*.}"
dir=${file%/*}
base="${file%.*}"