]> code.delx.au - gnu-emacs-elpa/blobdiff - admin/org-synch.sh
Adapt Org fetcher to archive-contents.el.
[gnu-emacs-elpa] / admin / org-synch.sh
index 79c551b66c1b5176fe867ba8a788c7e854ebdfb7..6a13e8f1f9846a60b4f721803a4518c7863b4949 100755 (executable)
@@ -2,7 +2,7 @@
 
 # this script expects $1 to be the download directory and $2 to have org-synch.el
 
-PATH=/bin:/usr/bin:/usr/local/bin
+PATH="/bin:/usr/bin:/usr/local/bin:${PATH}"
 
 pkgname=`curl -s http://orgmode.org/pkg/daily/|perl -ne 'push @f, $1 if m/(org-\d{8}\.tar)/; END { @f = sort @f; print "$f[-1]\n"}'`