From: Silvio Rhatto Date: Wed, 7 Aug 2024 16:20:15 +0000 (-0300) Subject: Fix: hydractl: sync-{tpc,home}: use the base action name X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=90fb453fc12f755684b9099c01215627f19c18e1;p=hydra.git Fix: hydractl: sync-{tpc,home}: use the base action name --- 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"