diff --git a/packer b/packer index 1a2d841..e81ae6c 100644 --- a/packer +++ b/packer @@ -67,7 +67,7 @@ runasroot() { else echo -n "root " # Hack: need to echo to make sure all of the args get in the single set of quotes - su root -c "$(echo $@)" + su -c "$(printf '%q ' "$@")" fi } diff --git a/packer.8 b/packer.8 index 95c0560..1cf9857 100644 --- a/packer.8 +++ b/packer.8 @@ -208,6 +208,8 @@ IgnorePkg Packer output will be colorized unless the environmental variable COLOR is set to `NO'. .sp To manually edit files, packer uses the EDITOR variable\&. If EDITOR is not set then the default editor is vi\&. +.sp +Packages are built in the TMPDIR path\&. If the TMPDIR variable is not set then the default path is /tmp .SH "SEE ALSO" .sp \fBpacman\fR(8)