diff options
Diffstat (limited to 'misc/sugar-network-sync')
-rwxr-xr-x | misc/sugar-network-sync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/sugar-network-sync b/misc/sugar-network-sync index c8dc594..8d19813 100755 --- a/misc/sugar-network-sync +++ b/misc/sugar-network-sync @@ -151,7 +151,7 @@ FS= disk_limit=$(expr 1024 \* 1024 \* 10) if [ $# -eq 0 ]; then - if [ "$(basename $(dirname $(realpath $0)))" = "sugar-network-sync" ]; then + if [ "$(basename $(dirname $0))" = "sugar-network-sync" ]; then # Script was launched from sync directory, so, process sync sync_path="$(dirname $0)" else |