summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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%.*}"