|
@@ -14,6 +14,9 @@
|
|
|
# See the License for the specific language governing permissions and
|
|
|
# limitations under the License.
|
|
|
|
|
|
+# Exit immediately on any error
|
|
|
+set -e
|
|
|
+
|
|
|
program=os-prober
|
|
|
version=1.77
|
|
|
release=1
|
|
@@ -42,8 +45,6 @@ docsdir="${docdir}/${program}-${version}"
|
|
|
|
|
|
build()
|
|
|
{
|
|
|
- set -e
|
|
|
-
|
|
|
unpack "${tardir}/$tarname"
|
|
|
|
|
|
cd "$srcdir"
|
|
@@ -100,7 +101,7 @@ build()
|
|
|
chmod 755 \
|
|
|
"${destdir}/usr/lib${libSuffix}/linux-boot-probes/mounted/${file##*/}"
|
|
|
done
|
|
|
- unset file
|
|
|
+ unset -v file
|
|
|
|
|
|
cp -p common/50mounted-tests \
|
|
|
"${destdir}/usr/lib${libSuffix}/linux-boot-probes"
|
|
@@ -126,7 +127,7 @@ build()
|
|
|
chmod 755 \
|
|
|
"${destdir}/usr/lib${libSuffix}/os-probes/mounted/${file##*/}"
|
|
|
done
|
|
|
- unset file
|
|
|
+ unset -v file
|
|
|
|
|
|
cp -p mounted/x86/efi/* \
|
|
|
"${destdir}/usr/lib${libSuffix}/os-probes/mounted/efi"
|