##// END OF EJS Templates
osx: install completion scripts using install(1) to avoid umask badness...
Augie Fackler -
r31609:8e516f71 default
parent child Browse files
Show More
@@ -165,14 +165,14 b' osx:'
165 make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
165 make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
166 # install zsh completions - this location appears to be
166 # install zsh completions - this location appears to be
167 # searched by default as of macOS Sierra.
167 # searched by default as of macOS Sierra.
168 mkdir -p build/mercurial/usr/local/share/zsh/site-functions
168 install -d build/mercurial/usr/local/share/zsh/site-functions/
169 cp contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/hg
169 install -m 0644 contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/hg
170 # install bash completions - there doesn't appear to be a
170 # install bash completions - there doesn't appear to be a
171 # place that's searched by default for bash, so we'll follow
171 # place that's searched by default for bash, so we'll follow
172 # the lead of Apple's git install and just put it in a
172 # the lead of Apple's git install and just put it in a
173 # location of our own.
173 # location of our own.
174 mkdir -p build/mercurial/usr/local/hg/contrib
174 install -d build/mercurial/usr/local/hg/contrib/
175 cp contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
175 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
176 mkdir -p $${OUTPUTDIR:-dist}
176 mkdir -p $${OUTPUTDIR:-dist}
177 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
177 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
178 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
178 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
@@ -26,9 +26,9 b' Spot-check some randomly selected files:'
26 ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyc 100644 0/0
26 ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyc 100644 0/0
27 ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyo 100644 0/0
27 ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyo 100644 0/0
28 $ grep zsh/site-functions/hg boms.txt | cut -d ' ' -f 1,2,3
28 $ grep zsh/site-functions/hg boms.txt | cut -d ' ' -f 1,2,3
29 ./usr/local/share/zsh/site-functions/hg 100640 0/0
29 ./usr/local/share/zsh/site-functions/hg 100644 0/0
30 $ grep hg-completion.bash boms.txt | cut -d ' ' -f 1,2,3
30 $ grep hg-completion.bash boms.txt | cut -d ' ' -f 1,2,3
31 ./usr/local/hg/contrib/hg-completion.bash 100640 0/0
31 ./usr/local/hg/contrib/hg-completion.bash 100644 0/0
32 $ egrep 'man[15]' boms.txt | cut -d ' ' -f 1,2,3
32 $ egrep 'man[15]' boms.txt | cut -d ' ' -f 1,2,3
33 ./usr/local/share/man/man1 40755 0/0
33 ./usr/local/share/man/man1 40755 0/0
34 ./usr/local/share/man/man1/hg.1 100644 0/0
34 ./usr/local/share/man/man1/hg.1 100644 0/0
General Comments 0
You need to be logged in to leave comments. Login now