aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-07 13:20:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-07 13:20:15 -0300
commit90fb453fc12f755684b9099c01215627f19c18e1 (patch)
tree9b4088289d1543a3590064103ec92155d1157dc5 /share
parent417e1d1b33223448aee742d49214cd965dbde8d5 (diff)
downloadhydra-90fb453fc12f755684b9099c01215627f19c18e1.tar.gz
hydra-90fb453fc12f755684b9099c01215627f19c18e1.tar.bz2
Fix: hydractl: sync-{tpc,home}: use the base action name
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/sync-home2
-rwxr-xr-xshare/hydractl/sync-tpc2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/sync-home b/share/hydractl/sync-home
index a0460e9..b2cd85f 100755
--- a/share/hydractl/sync-home
+++ b/share/hydractl/sync-home
@@ -4,7 +4,7 @@
#
# Parameters
-BASENAME="$0"
+BASENAME="`basename $0`"
TPC="$1"
DEST="/media/$1"
MEDIA="$DEST/var/cache/$TPC/media"
diff --git a/share/hydractl/sync-tpc b/share/hydractl/sync-tpc
index c739c5a..0a72866 100755
--- a/share/hydractl/sync-tpc
+++ b/share/hydractl/sync-tpc
@@ -4,7 +4,7 @@
#
# Parameters
-BASENAME="$0"
+BASENAME="`basename $0`"
TPC="$1"
DEST="/media/$1"
MEDIA="$DEST/var/cache/$TPC/media"