diff options
author | Jybz <j.biernacki@free.fr> | 2021-02-19 13:43:17 +0100 |
---|---|---|
committer | Jybz <j.biernacki@free.fr> | 2021-02-19 13:43:17 +0100 |
commit | 8b9814a33bbfba720a3e5f51a5a8e02a19bbacfd (patch) | |
tree | 5129197e897f0a71ffb22e5de397e0f0381689c9 /create_arm_image.sh | |
parent | 17e986e5a0bbcaf71c35789318befa9ee967d253 (diff) | |
download | mageia4arm-8b9814a33bbfba720a3e5f51a5a8e02a19bbacfd.tar mageia4arm-8b9814a33bbfba720a3e5f51a5a8e02a19bbacfd.tar.gz mageia4arm-8b9814a33bbfba720a3e5f51a5a8e02a19bbacfd.tar.bz2 mageia4arm-8b9814a33bbfba720a3e5f51a5a8e02a19bbacfd.tar.xz mageia4arm-8b9814a33bbfba720a3e5f51a5a8e02a19bbacfd.zip |
Fix fork loop generated by the space not found at the end when --log is the last argument.
Diffstat (limited to 'create_arm_image.sh')
-rwxr-xr-x | create_arm_image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create_arm_image.sh b/create_arm_image.sh index a85eb13..c646850 100755 --- a/create_arm_image.sh +++ b/create_arm_image.sh @@ -65,7 +65,7 @@ if [ 0 -ne $(echo "${CMD_LINE}" | grep -c '\-\-log') ]; then if [ "x" = "${LOGFILE}x" ]; then mkdir -p ./log LOGFILE="./log/mga4arm-$(date "+%Y-%m-%d-%H:%M:%S")-${CONFIG_NAME}.log" - LOGCMD="--log " + LOGCMD="--log" else LOGCMD="--log ${lOGFILE}" fi |