pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: gdt
Date: Tue Dec 29 17:56:15 UTC 2020
Modified Files:
pkgsrc: _NetBSD-pkgdb
Log Message:
_NetBSD-pkgdb: Use $@ insted of $*
Based on an offlist complaint from the shell style police :-)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/_NetBSD-pkgdb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/_NetBSD-pkgdb
diff -u pkgsrc/_NetBSD-pkgdb:1.1 pkgsrc/_NetBSD-pkgdb:1.2
--- pkgsrc/_NetBSD-pkgdb:1.1 Mon Dec 28 01:18:27 2020
+++ pkgsrc/_NetBSD-pkgdb Tue Dec 29 17:56:14 2020
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: _NetBSD-pkgdb,v 1.1 2020/12/28 01:18:27 gdt Exp $
+# $NetBSD: _NetBSD-pkgdb,v 1.2 2020/12/29 17:56:14 gdt Exp $
# Copyright The NetBSD Foundation 2020
# This script is for NetBSD only.
@@ -69,15 +69,15 @@ PKGSRC=/usr/pkgsrc
# Shell functions to print messages of varying severity. (We choose
# to avoid fancy formatting entirely in this script.)
msg () {
- echo "$*" >&2
+ echo "$@" >&2
}
warn () {
- echo "WARNING: $*" >&2
+ echo "WARNING: $@" >&2
}
fatal () {
- echo "FATAL: $*" >&2
+ echo "FATAL: $@" >&2
exit 1
}
@@ -324,4 +324,4 @@ main() {
fi
}
-main $*
+main "$@"
Home |
Main Index |
Thread Index |
Old Index