Commit c1d61343 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI

Fix bash scripts

parent f18fa96d
......@@ -23,7 +23,7 @@ export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild"
VERBOSE=""
if [[ @AUTOTOOLS_VERBOSE_MAKEFILE@ ]]; then
if [ @AUTOTOOLS_VERBOSE_MAKEFILE@ -eq 1 ]; then
VERBOSE="--verbose"
fi
......
......@@ -37,6 +37,4 @@ then
make dist V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_redirect_to_file@
cp *.tar.gz "$RPM_TOPDIR/SOURCES"
@LINPHONE_BUILDER_CONFIGURE_EXTRA_CMD@
# touch @ep_config_h_file@
fi
......@@ -22,7 +22,7 @@ export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild"
if [[ "@PLATFORM@" -eq "Debian" ]]; then
if [ "@PLATFORM@" = "Debian" ]; then
DEBS_TOPDIR="$RPM_TOPDIR/DEBS"
mkdir -p "$DEBS_TOPDIR" && cd "$DEBS_TOPDIR"
find "$RPM_TOPDIR/RPMS" -iname "*@LINPHONE_BUILDER_RPMBUILD_NAME@*.rpm" -exec fakeroot alien -d {} +
......
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