Module Name:    src
Committed By:   christos
Date:           Sun Jan 13 20:58:38 UTC 2013

Modified Files:
        src/distrib/utils/embedded: mkimage

Log Message:
move configuration to new place.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/utils/embedded/mkimage

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/utils/embedded/mkimage
diff -u src/distrib/utils/embedded/mkimage:1.4 src/distrib/utils/embedded/mkimage:1.5
--- src/distrib/utils/embedded/mkimage:1.4	Sun Jan 13 15:57:18 2013
+++ src/distrib/utils/embedded/mkimage	Sun Jan 13 15:58:38 2013
@@ -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 <a...@netbsd.org>
 # All rights reserved.
@@ -126,13 +126,13 @@ then
 	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

Reply via email to