diff options
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -301,8 +301,13 @@ add_man_links() { | |||
301 | } | 301 | } |
302 | 302 | ||
303 | # apply local patches | 303 | # apply local patches |
304 | PATCH=patch | ||
305 | # Prefer gnu patch on AIX systems, if available | ||
306 | if [ -x /opt/freeware/bin/patch ]; then | ||
307 | PATCH=/opt/freeware/bin/patch | ||
308 | fi | ||
304 | for i in patches/*.patch; do | 309 | for i in patches/*.patch; do |
305 | patch -p0 < $i | 310 | $PATCH -p0 < $i |
306 | done | 311 | done |
307 | 312 | ||
308 | # copy manpages | 313 | # copy manpages |