jhead: fix build.sh

Replace 'cp' with 'install'.
This commit is contained in:
Leonid Pliushch 2019-05-23 20:19:28 +03:00
parent 452826ed38
commit c65e36dba4
1 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@ TERMUX_PKG_SRCURL=http://www.sentex.net/~mwandel/jhead/jhead-${TERMUX_PKG_VERSIO
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_make_install() {
cp jhead $TERMUX_PREFIX/bin/jhead
mkdir -p $TERMUX_PREFIX/share/man/man1
cp -f jhead.1 $TERMUX_PREFIX/share/man/man1/jhead.1
install -Dm700 jhead $TERMUX_PREFIX/bin/jhead
install -Dm600 jhead.1 $TERMUX_PREFIX/share/man/man1/jhead.1
}