branch: master
commit deb5eb7cb2277f602249f322043ee4c7702c1bd9
Author: Thien-Thi Nguyen <t...@gnu.org>
Commit: Thien-Thi Nguyen <t...@gnu.org>

    [admin] Fix bug: Clean up $buildir/archive when done.
    
    This was supposed to happen, but the bug manifested as
    a typo: "buildid" instead of "buildir" -- note trailing "d"
    -- resulting in a command "rm -rf /archive".  Yikes!
    
    * admin/update-archive.sh <staging>: Spell ‘buildir’ correctly.
---
 admin/update-archive.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/admin/update-archive.sh b/admin/update-archive.sh
index 42d806a..52e9adf 100755
--- a/admin/update-archive.sh
+++ b/admin/update-archive.sh
@@ -209,7 +209,7 @@ latest="emacs-packages-latest.tgz"
      esac
  done
  mv $buildir/archive/"$latest" staging/
- rm -rf $buildid/archive)  ;# FIXME: TYPO (UNDETECTED, DANGEROUS!)
+ rm -rf $buildir/archive)
 
 # Make the HTML and readme.txt files.
 (cd ../staging/packages

Reply via email to