aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-09-13 11:56:41 -0500
committerBrent Cook <bcook@openbsd.org>2015-09-13 18:42:15 -0500
commit8c90be2a29053ac613dfe0c11a423da16c7c4520 (patch)
treecf31a8e35cd9793f5f6f622b0ffcce61bbad8652 /update.sh
parent627b0261a81bb18ef95156baa37101ddcb14e356 (diff)
downloadportable-8c90be2a29053ac613dfe0c11a423da16c7c4520.tar.gz
portable-8c90be2a29053ac613dfe0c11a423da16c7c4520.tar.bz2
portable-8c90be2a29053ac613dfe0c11a423da16c7c4520.zip
allow nc to build on linux and os x
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 83468a6..6df4290 100755
--- a/update.sh
+++ b/update.sh
@@ -213,7 +213,7 @@ sed -e "s/compat\///" crypto/Makefile.am.arc4random > \
213echo "copying nc(1) source" 213echo "copying nc(1) source"
214$CP $app_src/nc/nc.1 apps/nc 214$CP $app_src/nc/nc.1 apps/nc
215rm -f apps/nc/*.c apps/nc/*.h 215rm -f apps/nc/*.c apps/nc/*.h
216$CP_LIBC $libc_src/stdlib/strtonum.c apps/nc 216$CP_LIBC $libc_src/stdlib/strtonum.c apps/nc/compat
217for i in `awk '/SOURCES|HEADERS|MANS/ { print $3 }' apps/nc/Makefile.am` ; do 217for i in `awk '/SOURCES|HEADERS|MANS/ { print $3 }' apps/nc/Makefile.am` ; do
218 if [ -e $app_src/nc/$i ]; then 218 if [ -e $app_src/nc/$i ]; then
219 $CP $app_src/nc/$i apps/nc 219 $CP $app_src/nc/$i apps/nc