Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/distrib/acorn32 Pullup rev 1.2 (requested by abs in tic...



details:   https://anonhg.NetBSD.org/src/rev/5fcd28925378
branches:  netbsd-2-0
changeset: 561264:5fcd28925378
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Jun 03 23:05:39 2004 +0000

description:
Pullup rev 1.2 (requested by abs in ticket #433)

Updated bootloader packaging tools for acorn32

diffstat:

 distrib/acorn32/mksparkive.sh |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 82f535f72116 -r 5fcd28925378 distrib/acorn32/mksparkive.sh
--- a/distrib/acorn32/mksparkive.sh     Thu Jun 03 23:01:38 2004 +0000
+++ b/distrib/acorn32/mksparkive.sh     Thu Jun 03 23:05:39 2004 +0000
@@ -124,7 +124,7 @@
                fi
                if [ -d "$file" ]
                then
-                       temp=`mktemp -t $0` || exit 1
+                       temp=`mktemp -t $progname` || exit 1
                        (
                                cd "$file"
                                makearchive `ls -A` >$temp
@@ -143,9 +143,10 @@
 
 if [ $# -eq 0 ]
 then
-       name=`basename $0`
-       echo "Usage: $name filename"
+       echo "Usage: $progname filename"
        echo "$name: Outputs an uncompressed sparkive to stdout."
 fi
 
+progname=`basename $0`
+
 makearchive "$@"



Home | Main Index | Thread Index | Old Index