From fcaceab817a0bbf5ec3177246c6cc553db03abef Mon Sep 17 00:00:00 2001 From: "tlimoncelli@stackexchange.com" Date: Mon, 9 Mar 2015 07:56:37 -0400 Subject: [PATCH] 'make confidence' assumes source in ~/gitwork/blackbox. Fixes #58 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c8b90aa..f0e6834 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ local-deb: confidence: @if [ -e ~/.gnupg ]; then echo ERROR: '~/.gnupg should not exist. If it does, bugs may polute your .gnupg configuration. If the code has no bugs everything will be fine. Do you feel lucky?'; false ; fi @if which >/dev/null gpg-agent ; then pkill gpg-agent ; rm -rf /tmp/tmp.* ; fi - @export PATH=~/gitwork/blackbox/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/local/bin ; tools/confidence_test.sh - cd ~/gitwork/blackbox && tools/confidence_test.sh + @export PATH="$(PWD)/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/local/bin:$(PATH)" ; tools/confidence_test.sh + tools/confidence_test.sh @if which >/dev/null gpg-agent ; then pkill gpg-agent ; fi @if [ -e ~/.gnupg ]; then echo ERROR: '~/.gnupg was created which means the scripts might be poluting GnuPG configuration. Fix this bug.'; false ; fi