aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/sync-tpc
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/hydractl/sync-tpc
parent417e1d1b33223448aee742d49214cd965dbde8d5 (diff)
downloadhydra-90fb453fc12f755684b9099c01215627f19c18e1.tar.gz
hydra-90fb453fc12f755684b9099c01215627f19c18e1.tar.bz2
Fix: hydractl: sync-{tpc,home}: use the base action name
Diffstat (limited to 'share/hydractl/sync-tpc')
-rwxr-xr-xshare/hydractl/sync-tpc2
1 files changed, 1 insertions, 1 deletions
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"