[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master deb5eb7 1/4: [admin] Fix bug: Clean up $buildir/archive wh

From: Thien-Thi Nguyen
Subject: [elpa] master deb5eb7 1/4: [admin] Fix bug: Clean up $buildir/archive when done.
Date: Mon, 27 Feb 2017 23:49:33 -0500 (EST)

branch: master
commit deb5eb7cb2277f602249f322043ee4c7702c1bd9
Author: Thien-Thi Nguyen <address@hidden>
Commit: Thien-Thi Nguyen <address@hidden>

    [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"
  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

[Prev in Thread] Current Thread [Next in Thread]