Commit afbe0072 authored by Vitaly Lipatov's avatar Vitaly Lipatov

pack_in_onefile.sh: fix packing

parent ee9972bf
......@@ -29,7 +29,7 @@ internal_$(basename $1)()
{
EOF
cat $1 | grep -v "^#!/bin/sh" | sed -e "s| exit$| return|g" >>$OUTPUT
cat $1 | grep -v "^#!/bin/sh" | sed -e 's| exit$| return|g' -e 's|exit \$| return $|g' >>$OUTPUT
cat <<EOF >>$OUTPUT
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment