summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-20 22:49:51 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-20 22:49:51 +0200
commit8e40f4accf972d22281097b01aee872083d692d4 (patch)
tree9b5b0a33f8c767f5ceabb1a49be5d97d605529ac
parent7a4767f26f2f38fddd9d7bf3dc581b5bbf663ab3 (diff)
pkg: Print all config vars in debug mode
-rwxr-xr-xbin/pkg17
1 files changed, 11 insertions, 6 deletions
diff --git a/bin/pkg b/bin/pkg
index f15b5fa..fa0a919 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -160,12 +160,17 @@ if [[ $PKG_PROTO == 'ssh' ]] {
: ${PKGLIST_PATH:=$PKG_PATH/pkglist}
debug "Running zsh v$ZSH_VERSION"
-debug "PKG_ROOT: '$PKG_ROOT'"
-debug "PKG_PROTO: '$PKG_PROTO'"
-debug "PKG_USER: '$PKG_USER'"
-debug "PKG_HOST: '$PKG_HOST'"
-debug "PKGLIST_PATH: '$PKGLIST_PATH'"
-debug "CL_OPTIONS : '$CL_OPTIONS'"
+debug "--- settings ---"
+debug " PKG_ROOT '$PKG_ROOT'"
+debug " PKG_PROTO: '$PKG_PROTO'"
+debug " PKG_USER: '$PKG_USER'"
+debug " PKG_HOST: '$PKG_HOST'"
+debug " PKGLIST_PATH: '$PKGLIST_PATH'"
+debug " PDIR: '$PDIR'"
+debug " CL_OPTIONS: '$CL_OPTIONS'"
+debug " SILENT: '$SILENT'"
+debug " AUTOUPDATE: '$AUTOUPDATE'"
+debug " GIT_USE_ORIGIN: '$GIT_USE_ORIGIN'"
##
## Ask the user for confirmation