Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/misc/sugar-network-sync
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sugar-network-sync')
-rwxr-xr-xmisc/sugar-network-sync2
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