Have the subshell exit on error for porg install

This commit is contained in:
Pierre Labastie 2023-02-26 22:44:19 +01:00
parent b39eb29be5
commit 3940a45db3

View file

@ -121,7 +121,7 @@ PACKAGE=${PACKAGE,,}
# name is not normalized, several hacks are necessary (now in function
# extract_version)...
VERSION=$(extract_version $PCKGVRS)
porg -+ -lp ${PACKAGE}-${VERSION} sh << PORG_EOF
porg -+ -lp ${PACKAGE}-${VERSION} sh -e << PORG_EOF
$*
PORG_EOF
}