Use scp (not cp)
[git-tools-moved-to-github.git] / 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