2006-07-09 01:10:35 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2009-03-20 20:23:50 +01:00
|
|
|
# $NetBSD: show-buildlink3.sh,v 1.2 2009/03/20 19:25:01 joerg Exp $
|
2006-07-09 01:10:35 +02:00
|
|
|
#
|
|
|
|
# This script is a helper for the show-buildlink3 target and outputs
|
2009-03-20 20:23:50 +01:00
|
|
|
# the arguments as tree.
|
2006-07-09 01:10:35 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
while test $# -gt 0; do
|
|
|
|
pkg="$1"
|
2009-03-20 20:23:50 +01:00
|
|
|
case $pkg in
|
|
|
|
-*)
|
|
|
|
indentation=${indendation# }
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "${indentation}${pkg}"
|
|
|
|
indentation="${indentation} "
|
|
|
|
;;
|
|
|
|
esac
|
2006-07-09 01:10:35 +02:00
|
|
|
shift
|
|
|
|
done
|