gensrc: handle argument count when printing usage
[freebsd-maintainer-scripts/.git] / vimport
CommitLineData
efd73192
SB
1#!/bin/sh
2
3: ${PORTSDIR:="/usr/ports"}
4
5cd ${PORTSDIR}
6vim -p $(cd ${PORTSDIR}; psearch -m ${USER}|cut -d' ' -f1|xargs -I {} echo {}/Makefile)