diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-07 13:20:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-07 13:20:15 -0300 |
commit | 90fb453fc12f755684b9099c01215627f19c18e1 (patch) | |
tree | 9b4088289d1543a3590064103ec92155d1157dc5 | |
parent | 417e1d1b33223448aee742d49214cd965dbde8d5 (diff) | |
download | hydra-90fb453fc12f755684b9099c01215627f19c18e1.tar.gz hydra-90fb453fc12f755684b9099c01215627f19c18e1.tar.bz2 |
Fix: hydractl: sync-{tpc,home}: use the base action name
-rwxr-xr-x | share/hydractl/sync-home | 2 | ||||
-rwxr-xr-x | share/hydractl/sync-tpc | 2 |
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" |