about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-27 18:08:05 +0900
committersefidel <contact@sefidel.net>2023-07-27 18:09:38 +0900
commit54f5166c0fb9c94ec09471d4c6f6a22088815460 (patch)
tree508e513c272abd24e56fa4e3f3658debe3fdfd3b /home
parent905af590ac0ccce728d2fb127e25bbde4fb6cc02 (diff)
downloadnixrc-54f5166c0fb9c94ec09471d4c6f6a22088815460.tar.gz
nixrc-54f5166c0fb9c94ec09471d4c6f6a22088815460.zip
feat(home/base): don't create additional dir
Diffstat (limited to 'home')
-rwxr-xr-xhome/profiles/base/scripts/airport.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/profiles/base/scripts/airport.nix b/home/profiles/base/scripts/airport.nix
index f123557..cedb1d4 100755
--- a/home/profiles/base/scripts/airport.nix
+++ b/home/profiles/base/scripts/airport.nix
@@ -61,12 +61,12 @@
   case "$1" in
       send)
           delay "Airport will run 'rsync -au' to $DIR to SEND"
-          rsync -au --stats --info=progress2 --mkpath $DIR $USER@$HOST:airport
+          rsync -au --stats --info=progress2 --mkpath $DIR/ $USER@$HOST:airport
       ;;
 
       recv)
           delay "Airport will run 'rsync -au' to $DIR to RECV"
-          rsync -au --stats --info=progress2 $USER@$HOST:airport $DIR
+          rsync -au --stats --info=progress2 $USER@$HOST:airport/ $DIR
       ;;
 
       configure)