From 5842dc8f6e9004f7cce6c1d43e356baccc870651 Mon Sep 17 00:00:00 2001 From: Kito Date: Sun, 19 Feb 2006 22:29:48 +0000 Subject: [PATCH] add leading slash for doinfo svn path=/main/branches/prefix/; revision=2749 --- bin/doinfo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/doinfo b/bin/doinfo index cdec34ef7..497ee3144 100755 --- a/bin/doinfo +++ b/bin/doinfo @@ -7,14 +7,14 @@ if [ ${#} -lt 1 ] ; then echo "doinfo: at least one argument needed" exit 1 fi -if [ ! -d "${D}usr/share/info" ] ; then - install -d "${D}usr/share/info" +if [ ! -d "${D}/usr/share/info" ] ; then + install -d "${D}/usr/share/info" fi for x in "$@" ; do if [ -e "${x}" ] ; then - install -m0644 "${x}" "${D}usr/share/info" - gzip -f -9 "${D}usr/share/info/${x##*/}" + install -m0644 "${x}" "${D}/usr/share/info" + gzip -f -9 "${D}/usr/share/info/${x##*/}" else echo "doinfo: ${x} does not exist" fi -- 2.26.2