Skip to content

Commit 35a5e0f

Browse files
committed
Fix exec.sh bugs
1 parent 7439c68 commit 35a5e0f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/regtest/exec.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
# You should have received a copy of the GNU General Public License
1616
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717

18-
trap '' SIGILL SIGTRAP SIGSEGV
18+
trap "echo" SIGILL SIGTRAP SIGABRT 10 SIGSEGV
19+
20+
while [[ "$1" == *=* ]]
21+
do
22+
export $1
23+
shift
24+
done
25+
1926
"$@"
2027

0 commit comments

Comments
 (0)