[PATCH] templates/Makefile: work around SGI install which assumes / if ROOT not defined
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Aug 18, 2008, 23:14 UTC
- Message-ID
- <XAO6w2f4AxtqGEL6HNTkRYjhSFFUavQK8LYfdASEGw3-LRoH4_7Cdg@cipher.nrlssc.navy.mil>
- In-Reply-To
- <giNXZFTxzY3B65dQob7CwvwwfSKlZpw_60oz81RxU5UN3PsTT_3dMQ@cipher.nrlssc.navy.mil>
---
Hmm, I'm thinking that this is probably only an issue when path is not absolute, since I didn't have any problems installing the executables. Possibly, a more general fix is to provide the absolute path here.
-brandon
templates/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/templates/Makefile b/templates/Makefile index 9f3f1fc..3ea63e1 100644 --- a/templates/Makefile +++ b/templates/Makefile @@ -29,7 +29,7 @@ boilerplates.made : $(bpsrc) case "$$boilerplate" in *~) continue ;; esac && \ dst=`echo "$$boilerplate" | sed -e 's|^this|.|;s|--|/|g'` && \ dir=`expr "$$dst" : '\(.*\)/'` && \ - $(INSTALL) -d -m 755 blt/$$dir && \ + ROOT=./ $(INSTALL) -d -m 755 blt/$$dir && \ case "$$boilerplate" in \ *--) ;; \ *) cp -p $$boilerplate blt/$$dst ;; \
-- 1.6.0.13.ge1c8