fix ugen issue from latest shell changes that treat numeric constants

differently depending on their prefix.
This commit is contained in:
christos 2003-05-07 13:41:34 +00:00
parent 7fb7b24fed
commit e98429f32c
19 changed files with 38 additions and 38 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.27 2003/04/27 13:15:29 ragge Exp $
# $NetBSD: MAKEDEV,v 1.28 2003/05/07 13:41:34 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -618,7 +618,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.11 2003/04/27 13:15:29 ragge Exp $
# $NetBSD: MAKEDEV,v 1.12 2003/05/07 13:41:34 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -298,7 +298,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.109 2003/05/04 01:18:56 gmcgarry Exp $
# $NetBSD: MAKEDEV,v 1.110 2003/05/07 13:41:35 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -314,7 +314,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.2 2003/04/27 13:15:30 ragge Exp $
# $NetBSD: MAKEDEV,v 1.3 2003/05/07 13:41:35 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -346,7 +346,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.24 2003/04/27 13:15:32 ragge Exp $
# $NetBSD: MAKEDEV,v 1.25 2003/05/07 13:41:35 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -617,7 +617,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.28 2003/04/27 13:15:33 ragge Exp $
# $NetBSD: MAKEDEV,v 1.29 2003/05/07 13:41:35 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -589,7 +589,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.13 2003/04/27 13:15:34 ragge Exp $
# $NetBSD: MAKEDEV,v 1.14 2003/05/07 13:41:36 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -302,7 +302,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.7 2003/04/27 13:15:34 ragge Exp $
# $NetBSD: MAKEDEV,v 1.8 2003/05/07 13:41:36 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -678,7 +678,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.15 2003/04/27 13:15:36 ragge Exp $
# $NetBSD: MAKEDEV,v 1.16 2003/05/07 13:41:36 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -623,7 +623,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.50 2003/04/27 13:15:36 ragge Exp $
# $NetBSD: MAKEDEV,v 1.51 2003/05/07 13:41:36 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -257,7 +257,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.198 2003/04/27 13:15:37 ragge Exp $
# $NetBSD: MAKEDEV,v 1.199 2003/05/07 13:41:37 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -354,7 +354,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.77 2003/04/27 13:15:38 ragge Exp $
# $NetBSD: MAKEDEV,v 1.78 2003/05/07 13:41:37 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -708,7 +708,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.30 2003/04/27 13:15:40 ragge Exp $
# $NetBSD: MAKEDEV,v 1.31 2003/05/07 13:41:38 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -611,7 +611,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.9 2003/04/27 13:15:42 ragge Exp $
# $NetBSD: MAKEDEV,v 1.10 2003/05/07 13:41:38 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -641,7 +641,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.25 2003/04/27 13:15:42 ragge Exp $
# $NetBSD: MAKEDEV,v 1.26 2003/05/07 13:41:38 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -397,7 +397,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.13 2003/04/27 13:15:44 ragge Exp $
# $NetBSD: MAKEDEV,v 1.14 2003/05/07 13:41:38 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -253,7 +253,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.20 2003/04/27 13:15:45 ragge Exp $
# $NetBSD: MAKEDEV,v 1.21 2003/05/07 13:41:39 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -618,7 +618,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.51 2003/04/27 13:15:46 ragge Exp $
# $NetBSD: MAKEDEV,v 1.52 2003/05/07 13:41:39 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -724,7 +724,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.64 2003/04/27 13:15:47 ragge Exp $
# $NetBSD: MAKEDEV,v 1.65 2003/05/07 13:41:39 christos Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -643,7 +643,7 @@ ugen*)
do
ugenj=$ugen.$j
rm -f $ugenj
mknod $ugenj c $major $(($unit * 16 + $j))
mknod $ugenj c $major $(($unit * 16 + ${j#0}))
chmod 600 $ugenj
done
;;