Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded expand set name to path when checking...
details: https://anonhg.NetBSD.org/src/rev/58ec1c259de5
branches: trunk
changeset: 784019:58ec1c259de5
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Jan 15 02:50:08 2013 +0000
description:
expand set name to path when checking to see if the tgz exists
diffstat:
distrib/utils/embedded/mkimage | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 216b25c82d7c -r 58ec1c259de5 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage Tue Jan 15 02:46:41 2013 +0000
+++ b/distrib/utils/embedded/mkimage Tue Jan 15 02:50:08 2013 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mkimage,v 1.8 2013/01/14 12:12:19 jmcneill Exp $
+# $NetBSD: mkimage,v 1.9 2013/01/15 02:50:08 jmcneill Exp $
# Copyright (c) 2012 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -191,7 +191,7 @@
echo "${bar} installing sets ${bar}"
(cd ${mnt} &&
for s in ${sets}; do
- if [ -f "${s}" ]; then
+ if [ -f "${setsdir}/${s}.tgz" ]; then
echo ${s}
${sudo} tar xpzf ${setsdir}/${s}.tgz
fi
Home |
Main Index |
Thread Index |
Old Index