mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
some versions of /bin/dash do interpreted our commands different, which causes a variable failure and termination of the script. e.g. a new line char "\n" will split the cmd_type to a multiple line variable not working with the followup commands. adding the head command does avoid multiline variables now. Problem found in Ubuntu 20.4 and some older Ubuntu versions Reviewed-by: Mario Held <mario.held@de.ibm.com> Signed-off-by: Joern Siglen <siglen@de.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>