summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authora1346054 <36859588+a1346054@users.noreply.github.com>2021-08-22 14:48:41 +0000
committerSébastien Helleu <flashcode@flashtux.org>2021-09-11 00:17:36 +0200
commit9d7cac2396667789de35109a05710225cab2bf09 (patch)
tree1cf877a6ad626abac314ebb1b29e36678411814b /autogen.sh
parent04977fa9dab47189ef7e2e4e11d8265f039020c6 (diff)
downloadweechat-9d7cac2396667789de35109a05710225cab2bf09.zip
build: fix shellcheck warnings
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 70ead1547..ca724d19f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -34,7 +34,7 @@ err ()
echo "-------"
echo "Error :"
echo "---8<-----------------------------------"
- cat $AUTOGEN_LOG
+ cat "$AUTOGEN_LOG"
echo "----------------------------------->8---"
exit 1
}
@@ -42,7 +42,7 @@ err ()
run ()
{
printf "Running \"%s\"..." "$@"
- if eval "$@" >$AUTOGEN_LOG 2>&1 ; then
+ if eval "$@" >"$AUTOGEN_LOG" 2>&1 ; then
echo " OK"
else
echo " FAILED"
@@ -66,4 +66,4 @@ run "rm -rf intl"
run "autoreconf -vi"
# ending
-rm -f $AUTOGEN_LOG
+rm -f "$AUTOGEN_LOG"