Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2022-09-15 00:57:32 +0300
committerBryan Drewery <bryan@shatow.net>2022-11-05 18:47:57 +0300
commitcc14f49acd7852c468bc07ea618cfcac602fedcd (patch)
tree4169e98bbded5586bd2d80d90725225e2b68f3e6
parent5b82d94022bbec93b5bb7a51a5b30eb4179ce6ac (diff)
jail -l: Give field width to PATH.
This is a NOP but will be needed if we allow filtering on fields.
-rwxr-xr-xsrc/share/poudriere/jail.sh2
-rwxr-xr-xsrc/share/poudriere/ports.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/share/poudriere/jail.sh b/src/share/poudriere/jail.sh
index 5c901d1a..725fa115 100755
--- a/src/share/poudriere/jail.sh
+++ b/src/share/poudriere/jail.sh
@@ -93,7 +93,7 @@ list_jail() {
local j name version arch method mnt timestamp time
if [ ${NAMEONLY} -eq 0 ]; then
- format='%%-%ds %%-%ds %%-%ds %%-%ds %%-%ds %%s'
+ format='%%-%ds %%-%ds %%-%ds %%-%ds %%-%ds %%-%ds'
display_setup "${format}" "-d -k2,2V -k3,3 -k1,1"
display_add "JAILNAME" "VERSION" "ARCH" "METHOD" \
"TIMESTAMP" "PATH"
diff --git a/src/share/poudriere/ports.sh b/src/share/poudriere/ports.sh
index 0ee72948..d08cdb87 100755
--- a/src/share/poudriere/ports.sh
+++ b/src/share/poudriere/ports.sh
@@ -193,7 +193,7 @@ fi
case $COMMAND in
list)
if [ ${NAMEONLY} -eq 0 ]; then
- format='%%-%ds %%-%ds %%-%ds %%s\n'
+ format='%%-%ds %%-%ds %%-%ds %%-%ds\n'
display_setup "${format}" "-d"
display_add "PORTSTREE" "METHOD" "TIMESTAMP" "PATH"
else