From 59c99ac37ce28d3684cf5b61180c588ff8408762 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 20 Apr 2014 22:18:28 +0200 Subject: update-retiolum-hosts: remove readlink --- retiolum/bin/update-retiolum-hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/bin') diff --git a/retiolum/bin/update-retiolum-hosts b/retiolum/bin/update-retiolum-hosts index eb57af3f..0eae1c29 100755 --- a/retiolum/bin/update-retiolum-hosts +++ b/retiolum/bin/update-retiolum-hosts @@ -8,7 +8,7 @@ if test "${nosudo-false}" != true -a `id -u` != 0; then fi # cd //retiolum -cd $(dirname $(readlink -f $0))/.. +cd -P "$(dirname "$0")/.." mkdir -p /etc/tinc/retiolum/hosts rsync -va -I --delete hosts/ /etc/tinc/retiolum/hosts/ -- cgit v1.2.3