aboutsummaryrefslogtreecommitdiff
path: root/functions.sh
diff options
context:
space:
mode:
authorGavin Howard <yzena.tech@gmail.com>2019-04-09 10:04:01 -0600
committerGavin Howard <yzena.tech@gmail.com>2019-04-09 10:04:01 -0600
commitbc02129f1d56c85a54380322496c1b2aee23f0cf (patch)
tree174f25fcff5067b6b754461e843062bfdf44b92c /functions.sh
parentdc5fcef935684078f5be5d857528ab631a334246 (diff)
downloadbc02129f1d56c85a54380322496c1b2aee23f0cf.tar.gz
Make installing and uninstalling locales work
Diffstat (limited to 'functions.sh')
-rwxr-xr-xfunctions.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/functions.sh b/functions.sh
index e7361324..95af66a9 100755
--- a/functions.sh
+++ b/functions.sh
@@ -42,8 +42,7 @@ readlink() {
link=$(printf '%s' "${lsout#*$arrow}")
while [ -z "${lsout##*$arrow*}" ]; do
- cd "$d"
- f="$link"
+ f="$d/$link"
d=$(dirname "$f")
lsout=$(ls -dl "$f")
link=$(printf '%s' "${lsout#*$arrow}")