summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
af1503e)
* admin/update-archive.sh: Do not fail if there is no staging-old
directory, and use $buildir instead of hardcoding "build" in some
places.
(cd ../
mkdir -p staging/packages
# Not sure why we have `staging-old', but let's keep it for now.
(cd ../
mkdir -p staging/packages
# Not sure why we have `staging-old', but let's keep it for now.
rsync -av --inplace --delete staging/. staging-old/.
# Move new files into place but don't throw out old package versions.
rsync -av --inplace --delete staging/. staging-old/.
# Move new files into place but don't throw out old package versions.
- for f in build/archive/packages/*; do
+ for f in $buildir/archive/packages/*; do
# PKG-VER
pv=$(basename "$f")
dst="staging/packages/$pv"
# PKG-VER
pv=$(basename "$f")
dst="staging/packages/$pv"
- mv build/archive/"$latest" staging/
- rm -rf build/archive)
+ mv $buildir/archive/"$latest" staging/
+ rm -rf $buildid/archive)
# Make the HTML and readme.txt files.
(cd ../staging/packages
# Make the HTML and readme.txt files.
(cd ../staging/packages
- emacs --batch -l ../../build/admin/archive-contents.el \
+ emacs --batch -l $buildir/admin/archive-contents.el \
--eval '(batch-html-make-index)')
--eval '(batch-html-make-index)')