[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-ramdisk/master] build.sh: fix ntpd build.



commit 103289287b936e3358f4ea5fa0fdb767da4d415e
Author: Anthony G. Basile <blueness@xxxxxxxxxx>
Date:   Tue May 26 21:33:21 2015 -0400

    build.sh: fix ntpd build.
---
 build.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index c262763..25cf2c7 100755
--- a/build.sh
+++ b/build.sh
@@ -116,13 +116,13 @@ build_tor()
 build_ntpd()
 {
 	cd $WORKING
-	[[ -f $NTPD/ntpd ]] && return 0
+	[[ -f $NTPD/src/ntpd ]] && return 0
 	tar zxvf $WORKING/../sources/$NTPD.tar.gz
 	cd $NTPD
 	sed -i '/NTPD_USER/s:_ntp:ntp:' ntpd.h
 	./configure --with-privsep-user=ntp --prefix=
 	make
-	strip ntpd
+	strip src/ntpd
 }
 
 ################################################################################
@@ -179,7 +179,7 @@ populate_bin()
 	cd $WORKING/initramfs/bin
 	cp $WORKING/$BUSYBOX/busybox .
 	cp $WORKING/$TOR/src/or/tor .
-	cp $WORKING/$NTPD/ntpd .
+	cp $WORKING/$NTPD/src/ntpd .
 	cp $WORKING/$OPENSSH/ssh .
 	cp $WORKING/$OPENSSH/scp .
 	cp $WORKING/$HAVEGED/src/.libs/haveged .

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits