diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-04-14 19:21:01 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-04-14 19:21:01 +0000 |
commit | 56e8e6e653364e187f7e78c7349c9f9235bb6602 (patch) | |
tree | 38ea86c8f5c820f87c2c4eae5b1d984badfa3828 | |
parent | 64b503dfe61d954084db449e7b6d62e909c0251f (diff) | |
download | portage-56e8e6e653364e187f7e78c7349c9f9235bb6602.tar.gz portage-56e8e6e653364e187f7e78c7349c9f9235bb6602.tar.bz2 portage-56e8e6e653364e187f7e78c7349c9f9235bb6602.zip |
revise tests so that does not trigger an error (trunk r6400:6401)
svn path=/main/branches/2.1.2/; revision=6404
-rwxr-xr-x | bin/doins | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,12 +22,12 @@ if [ ${INSDEPTH} -gt 30 ] ; then exit 1 fi -if [ "${INSDESTTREE%${D}*}" == "" ]; then +if [[ ${INSDESTTREE#${D}} != "${INSDESTTREE}" ]]; then vecho "-------------------------------------------------------" 1>&2 vecho "You should not use \${D} with helpers." 1>&2 vecho " --> ${INSDESTTREE}" 1>&2 vecho "-------------------------------------------------------" 1>&2 - #exit 1 + exit 1 fi [ ! -d "${D}${INSDESTTREE}" ] && dodir "${INSDESTTREE}" |