diff options
Diffstat (limited to 'lib/subcommands')
-rw-r--r-- | lib/subcommands/sync.bash | 2 | ||||
-rw-r--r-- | lib/subcommands/sysinfo.bash | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/subcommands/sync.bash b/lib/subcommands/sync.bash index af5f282..8fce0b6 100644 --- a/lib/subcommands/sync.bash +++ b/lib/subcommands/sync.bash @@ -25,7 +25,7 @@ subcommand() while read -r playbook do info "bashtard/sync" "Syncing $playbook" - "$BASHTARD_BASEDIR/bin/$BASHTARD_NAME" sync "$playbook" + "$BASHTARD_BIN" sync "$playbook" done < "$BASHTARD_ETCDIR/registry.d/${BASHTARD_PLATFORM[fqdn]}" } diff --git a/lib/subcommands/sysinfo.bash b/lib/subcommands/sysinfo.bash index 5010798..7b83e32 100644 --- a/lib/subcommands/sysinfo.bash +++ b/lib/subcommands/sysinfo.bash @@ -1,8 +1,9 @@ #!/usr/bin/env bash subcommand() { - printf "%-15s %s\n" "basedir" "$BASHTARD_BASEDIR" printf "%-15s %s\n" "etcdir" "$BASHTARD_ETCDIR" + printf "%-15s %s\n" "libdir" "$BASHTARD_LIBDIR" + printf "%-15s %s\n" "sharedir" "$BASHTARD_SHAREDIR" for key in "${!BASHTARD_PLATFORM[@]}" do |