diff options
author | Stephane Peter <megastep@megastep.org> | 2020-03-05 04:28:28 -0800 |
---|---|---|
committer | Stephane Peter <megastep@megastep.org> | 2020-03-05 04:28:28 -0800 |
commit | cb2865db8e579cf9fa503b669dbb236b87416aba (patch) | |
tree | 384ca568c3d97d9ab79d39a06a95a7e48e30c331 | |
parent | 9f7edb9c264d30af585f0745ba15db2dea454edd (diff) | |
download | makeself-cb2865db8e579cf9fa503b669dbb236b87416aba.tar.gz |
Fix issues from shellcheck
-rwxr-xr-x | makeself.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/makeself.sh b/makeself.sh index 221789f..4950f5f 100755 --- a/makeself.sh +++ b/makeself.sh @@ -69,18 +69,18 @@ # - 2.3.0 : Option to specify packaging date to enable byte-for-byte reproducibility. (Marc Pawlowsky) # - 2.4.0 : Optional support for SHA256 checksums in archives. # -# (C) 1998-2018 by Stephane Peter <megastep@megastep.org> +# (C) 1998-2020 by Stephane Peter <megastep@megastep.org> # # This software is released under the terms of the GNU GPL version 2 and above # Please read the license at http://www.gnu.org/copyleft/gpl.html # Self-extracting archives created with this script are explictly NOT released under the term of the GPL # -MS_VERSION=2.4.0 +MS_VERSION=2.4.1 MS_COMMAND="$0" unset CDPATH -for f in "${1+"$@"}"; do +for f in ${1+"$@"}; do MS_COMMAND="$MS_COMMAND \\\\ \\\"$f\\\"" done @@ -592,7 +592,7 @@ fi tmparch="${TMPDIR:-/tmp}/mkself$$.tar" ( if test "$APPEND" = "y"; then - tail -n +$OLDSKIP "$archname" | $GUNZIP_CMD > "$tmparch" + tail -n "+$OLDSKIP" "$archname" | $GUNZIP_CMD > "$tmparch" fi cd "$archdir" find . ! -type d -o -links 2 \ |