aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-15 21:06:47 +0300
committerCem Keylan <cem@ckyln.com>2020-05-15 21:06:47 +0300
commit51fa26bb23979a16647c248162fc8b6672ebd510 (patch)
treea2561e4db611493f6772c0ab4e3317d17a07ef10 /core
parentd8085bc5a7a3a4c8d601890b36f173dcc0bdd4dd (diff)
downloadrepository-51fa26bb23979a16647c248162fc8b6672ebd510.tar.gz
git: portable install calls
Diffstat (limited to 'core')
-rwxr-xr-xcore/git/build6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/git/build b/core/git/build
index 23c8bced..d3001d72 100755
--- a/core/git/build
+++ b/core/git/build
@@ -26,6 +26,6 @@ EOF
make
make DESTDIR="$1" install
-install -Dm644 -t "$1/usr/share/man/man1" man1/*.1
-install -Dm644 -t "$1/usr/share/man/man5" man5/*.5
-install -Dm644 -t "$1/usr/share/man/man7" man7/*.7
+for man in man1/*.1 man5/*.5 man7/*.7; do
+ install -Dm644 "$man" "$1/usr/share/man/$man"
+done