aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike Arthur2010-01-30 11:59:53 +0000
committerMike Arthur2010-01-30 17:08:14 +0000
commit2b1aa80ad5e8f17b7fb3ee272a8634276606360a (patch)
tree0f84a5c552d0e326982ce83fc66a5c590fb45233 /Library/Formula
parent1cd5fa33337757b49015914f2c35a3ea2e28e5be (diff)
downloadhomebrew-2b1aa80ad5e8f17b7fb3ee272a8634276606360a.tar.bz2
Fix colordiff so it finds its etc directory now.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/colordiff.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/colordiff.rb b/Library/Formula/colordiff.rb
index d54f5478e..9c9fd8365 100644
--- a/Library/Formula/colordiff.rb
+++ b/Library/Formula/colordiff.rb
@@ -39,7 +39,8 @@ __END__
install -d ${DESTDIR}${INSTALL_DIR}
+ install -d ${DESTDIR}${MAN_DIR}
+ install -d ${DESTDIR}${ETC_DIR}
- sed -e "s%/etc%${ETC_DIR}%g" colordiff.pl > \
+- sed -e "s%/etc%${ETC_DIR}%g" colordiff.pl > \
++ sed -e "s%/etc%${DESTDIR}${ETC_DIR}%g" colordiff.pl > \
${DESTDIR}${INSTALL_DIR}/colordiff
chmod +x ${DESTDIR}${INSTALL_DIR}/colordiff
if [ ! -f ${DESTDIR}${INSTALL_DIR}/cdiff ] ; then \