enforce bash usage to avoid problems on Ubuntu with dash
This commit is contained in:
@@ -40,7 +40,7 @@ cd packaging/linux
|
||||
|
||||
pushd deb
|
||||
echo "Building Debian package."
|
||||
./buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
bash buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Debian package build failed."
|
||||
fi
|
||||
@@ -48,7 +48,7 @@ popd
|
||||
|
||||
pushd pkgbuild
|
||||
echo "Building Arch-Linux package."
|
||||
sh buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
bash buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Arch-Linux package build failed."
|
||||
fi
|
||||
@@ -56,7 +56,7 @@ popd
|
||||
|
||||
pushd rpm
|
||||
echo "Building RPM package."
|
||||
sh buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR"
|
||||
bash buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "RPM package build failed."
|
||||
fi
|
||||
|
||||
@@ -89,7 +89,7 @@ popd
|
||||
|
||||
pushd osx
|
||||
echo "Zipping OS X package"
|
||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR"
|
||||
bash buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "OS X package build failed."
|
||||
fi
|
||||
@@ -97,7 +97,7 @@ popd
|
||||
|
||||
pushd linux
|
||||
echo "Building Linux packages"
|
||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR"
|
||||
bash buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Linux package build failed."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user