Module Name: src
Committed By: christos
Date: Sun Feb 17 01:26:47 UTC 2013
Modified Files:
src/lib: checkver
Log Message:
Use $0
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/checkver
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/checkver
diff -u src/lib/checkver:1.14 src/lib/checkver:1.15
--- src/lib/checkver:1.14 Sat Feb 16 20:20:57 2013
+++ src/lib/checkver Sat Feb 16 20:26:47 2013
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: checkver,v 1.14 2013/02/17 01:20:57 christos Exp $
+# $NetBSD: checkver,v 1.15 2013/02/17 01:26:47 christos Exp $
#
# Copyright (c) 1998 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -67,7 +67,7 @@
#
TMP=/tmp/checkver.$$
-PROG="$(basename "$PROG")"
+PROG="$(basename "$0")"
# Can't trap 11 (SEGV) in the Real Bourne Shell, since it uses it for
# internal malloc!
trap "exit 2" 1 2 3 4 5 6 7 8 10 12 13 14 15