Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/embedded move configuration to new place.



details:   https://anonhg.NetBSD.org/src/rev/6f98644c9251
branches:  trunk
changeset: 783963:6f98644c9251
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 13 20:58:38 2013 +0000

description:
move configuration to new place.

diffstat:

 distrib/utils/embedded/mkimage |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 87148e02742a -r 6f98644c9251 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage    Sun Jan 13 20:57:18 2013 +0000
+++ b/distrib/utils/embedded/mkimage    Sun Jan 13 20:58:38 2013 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: mkimage,v 1.4 2013/01/13 20:57:18 christos Exp $
+# $NetBSD: mkimage,v 1.5 2013/01/13 20:58:38 christos Exp $
 
 # Copyright (c) 2012 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -126,13 +126,13 @@
        usage
 fi
 
-if [ ! -f "${DIR}/${h}.conf" ]
+if [ ! -f "${DIR}/conf/${h}.conf" ]
 then
-       echo $PROG: ${DIR}/${h}.conf is not present 1>&2
+       echo $PROG: ${DIR}/conf/${h}.conf is not present 1>&2
        exit 1
 fi
 
-. "${DIR}/${h}.conf"
+. "${DIR}/conf/${h}.conf"
 
 OPTIND=1
 while getopts "$OPTS" f



Home | Main Index | Thread Index | Old Index