Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Dec 31, 2024
1 parent 70de0f8 commit 5734f73
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions usr/share/genmkfile/make-helper-one.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,21 @@ sudo genmkfile deb-all-dep
make_deb_runtime_dependencies="$(make_dependencies_filter_helper "$make_deb_runtime_dependencies")"

while read -r -d $'\n' dpkg_line; do
true "dpkg_line: $dpkg_line"
## Example dpkg_line:
## Version: 0.1-1
## Example dpkg_line:
## Version: 1:20240810
read -r first second _ <<< "$dpkg_line"
## Example first:
## Version:
## Example second:
## 3:0.1-1
## Example second:
## 1:20240810
first="${first,,}"
true "first: $first"
true "second: $second"
## Example first:
## version
if [ "$first" = "version:" ]; then
Expand Down Expand Up @@ -523,6 +530,10 @@ sudo genmkfile deb-all-dep

while read -r -d $'\n' grep_line; do
read -r a package _ <<< "$grep_line"
true "package: $package"
true "make_pkg_version: $make_pkg_version"
true "make_pkg_revision: $make_pkg_revision"
true "binary_package_architecture: $binary_package_architecture"
## Example architecture independent "all" package: anon-apt-sources-list_3.4-1_all.deb
temp="${package}_${make_pkg_version}-${make_pkg_revision}_${binary_package_architecture}.deb"
temp="${DISTDIR}/$temp"
Expand Down

0 comments on commit 5734f73

Please sign in to comment.