aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-01-03 19:00:25 -0600
committerBrent Cook <bcook@openbsd.org>2016-01-03 21:20:02 -0600
commitcf86bf85812c14827be31b95a89581e243a1165f (patch)
tree1fbefd6faeccdf15c45bd05f2663c956efcf8c83
parent38c577d7587cac4b305dfa913029d9b750445700 (diff)
downloadportable-cf86bf85812c14827be31b95a89581e243a1165f.tar.gz
portable-cf86bf85812c14827be31b95a89581e243a1165f.tar.bz2
portable-cf86bf85812c14827be31b95a89581e243a1165f.zip
prefer gnu patch on AIX
-rwxr-xr-xupdate.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index a456b22..14082a1 100755
--- a/update.sh
+++ b/update.sh
@@ -301,8 +301,13 @@ add_man_links() {
301} 301}
302 302
303# apply local patches 303# apply local patches
304PATCH=patch
305# Prefer gnu patch on AIX systems, if available
306if [ -x /opt/freeware/bin/patch ]; then
307 PATCH=/opt/freeware/bin/patch
308fi
304for i in patches/*.patch; do 309for i in patches/*.patch; do
305 patch -p0 < $i 310 $PATCH -p0 < $i
306done 311done
307 312
308# copy manpages 313# copy manpages