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

    [admin] Make update-archive.sh slightly less verbose.
    
    * admin/update-archive.sh: Move the ‘-x’ flag from shebang
    line to explicit ‘set -x’ following options/args processing.
---
 admin/update-archive.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/admin/update-archive.sh b/admin/update-archive.sh
index 52e9adf..28cd99d 100755
--- a/admin/update-archive.sh
+++ b/admin/update-archive.sh
@@ -1,6 +1,5 @@
-#!/bin/sh -x
+#!/bin/sh
 # TODO: (line 1) s/sh/bash/
-# TODO: (line 1) Rework ‘-x’ to ‘set -x’ following hv/arg checks.
 # TODO: Author
 # TODO: License
 ##
@@ -89,6 +88,8 @@ test -L $0 || { hv=`dirname $0`/hv.sh ; test -r $hv && . $hv 
; }
 
 # TODO: (here) Validate args.
 
+set -x
+
 makelog=""
 buildir="$(pwd)"
 

Reply via email to