mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
basename => dirname, thanks Hxal
This commit is contained in:
2
bin/ldmd
2
bin/ldmd
@@ -1,7 +1,7 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
# Default to 'ldc' next to this file
|
||||
LDC=`basename "$0"`/ldc
|
||||
LDC=`dirname "$0"`/ldc
|
||||
if [ ! -x "$LDC" ]; then
|
||||
# If that doesn't work, assume this script was called via $PATH
|
||||
# and do the same for ldc
|
||||
|
||||
Reference in New Issue
Block a user