Use scp (not cp)
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 May 2010 12:07:27 +0000 (14:07 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 May 2010 12:07:27 +0000 (14:07 +0200)
id-deb-build/id-upload.sh

index 3a72de7..57649b9 100755 (executable)
@@ -22,9 +22,9 @@ set -e
 if test -f Doxyfile; then
        doxygen >out 2>stderr
 fi
-(cd doc && make ${PRODUCT}.pdf index.html)
+(cd doc && make ${PROD}.pdf index.html)
 cp NEWS doc/
-cp ${TAR} ftp.indexdata.dk:/home/ftp/pub/${PROD}/
+scp ${TAR} ftp.indexdata.dk:/home/ftp/pub/${PROD}/
 tar cz --exclude=.git -f - dox doc|ssh website "cd software/${PROD}; tar xzf -"
 # Local Variables:
 # mode:shell-script