dh_builddeb
This commit is contained in:
parent
4c3804db8a
commit
7f8c1f9dd0
7
build.sh
7
build.sh
|
@ -137,12 +137,9 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
|
|||
mkdir -p $deb_pkg_dir
|
||||
echo $package_control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" > $deb_pkg_dir/control
|
||||
|
||||
cd $dir
|
||||
dpkg-deb --build $target
|
||||
mkdir -p $SCRIPT_PATH/debs
|
||||
deb_file=$SCRIPT_PATH/debs/$target-$VERSION-$arch.deb
|
||||
rm -f $deb_file
|
||||
cp $target.deb $deb_file
|
||||
cd $dir
|
||||
dh_builddeb --destdir $SCRIPT_PATH/debs
|
||||
rm -rf $dir
|
||||
else
|
||||
echo "Skipping arch $arch"
|
||||
|
|
Loading…
Reference in a new issue