summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-24 02:22:45 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-26 22:17:55 +0200
commitbd95e2b29d1048f4c8ada07def7b1a5da5eb7716 (patch)
tree4860f61e134559055cb5d7cb5852cad5e36f577d /vendor
parent34f0d758a46961f3b49991960f58fea14cf7dc4a (diff)
Always pass a directory to find before an option
On BSD systems, we cannot simply use find -name or stuff, we always have to pass a directory name first. Gbp-Dch: ignore
Diffstat (limited to 'vendor')
-rwxr-xr-xvendor/getinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/getinfo b/vendor/getinfo
index 37e0c1480..37eb74cef 100755
--- a/vendor/getinfo
+++ b/vendor/getinfo
@@ -6,7 +6,7 @@ BASEDIR="$(readlink -f "$(dirname $0)")"
getcurrent() {
# search for an exact match to use the correct sources.list example
cd $BASEDIR
- DISTROS="$(find -mindepth 1 -maxdepth 1 -type d | cut -d'/' -f 2)"
+ DISTROS="$(find . -mindepth 1 -maxdepth 1 -type d | cut -d'/' -f 2)"
for DISTRO in $DISTROS; do
if dpkg-vendor --is $DISTRO; then
echo $DISTRO