# HG changeset patch # User Rob Landley # Date 1273820242 18000 # Node ID 0fe8eda4f002e4dcfe06d9a38bebfd944281e56d # Parent dd5be60a2794e804abaf355ddc00164732b420b2 Teach hello world native build to honor $FTP_SERVER diff -r dd5be60a2794 -r 0fe8eda4f002 sources/native-builds/hello-world.sh --- a/sources/native-builds/hello-world.sh Fri May 14 01:56:15 2010 -0500 +++ b/sources/native-builds/hello-world.sh Fri May 14 01:57:22 2010 -0500 @@ -24,10 +24,10 @@ gcc -lpthread /usr/src/thread-hello2.c -o hello && ./hello -# Upload our hello world file to the output directory (named hello-$ARCH). +# Upload our hello world file to the output directory (named hello-$HOST). # No reason, just an example. -ftpput 10.0.2.2 -P $OUTPORT hello-"$ARCH" hello +ftpput $FTP_SERVER -P $FTP_PORT hello-$HOST hello sync