#3374: LibreOffice for loop fails to create launcher scripts
--------------------+-------------------------------------------------------
Reporter: stoat | Owner: blfs-book@…
Type: task | Status: new
Priority: normal | Milestone: current
Component: BOOK | Version: SVN
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
For me anyway, the for loop immediately following the make install command
fails with a bash error causing the whole block of commands not to
complete.
{{{
echo "#!/bin/bash
bash: !/bin/bash: event not found
}}}
I was copying and pasting the whole block of commands from the book
directly to a bash shell command prompt like I often do. But maybe there
is something about my environment causing this particular echo line not
work as expected for me. Anyway, I created these launcher scripts sort of
manually...
{{{
cat > /usr/bin/base << "EOF"
#!/bin/bash
exec /usr/lib/libreoffice/program/soffice --nologo --base "${@}"
EOF
cat > /usr/bin/calc << "EOF"
#!/bin/bash
exec /usr/lib/libreoffice/program/soffice --nologo --calc "${@}"
EOF
cat > /usr/bin/draw << "EOF"
#!/bin/bash
exec /usr/lib/libreoffice/program/soffice --nologo --draw "${@}"
EOF
cat > /usr/bin/impress << "EOF"
#!/bin/bash
exec /usr/lib/libreoffice/program/soffice --nologo --impress "${@}"
EOF
cat > /usr/bin/math << "EOF"
#!/bin/bash
exec /usr/lib/libreoffice/program/soffice --nologo --math "${@}"
EOF
cat > /usr/bin/writer << "EOF"
#!/bin/bash
exec /usr/lib/libreoffice/program/soffice --nologo --writer "${@}"
EOF
}}}
Maybe someone can tell me why the book's commands might be doing this only
for me, or maybe someone can think of a better way to generate these six
scripts in the book.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3374>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page