Skip to content

Commit

Permalink
fix trailing / in path, don't write into changelog on error
Browse files Browse the repository at this point in the history
  • Loading branch information
astibal committed Nov 18, 2023
1 parent b1820a8 commit d02864f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tools/pkg-scripts/deb/createdeb-0.9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ mv CHANGELOG.md "/tmp/changelog.md"
cd ..

# keep debian changelog ugly as it's idiotically dogmatic format - I am giving up on this BS
./gen_debian_changelog.sh smithproxy_src/ > "${DEB_DIR}/debian/changelog"
./gen_debian_changelog.sh smithproxy_src > "${DEB_DIR}/debian/changelog"

echo "cd to ${DEB_DIR}"
cd "${DEB_DIR}" || exit 255
Expand Down
1 change: 0 additions & 1 deletion tools/pkg-scripts/deb/gen_debian_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function process_component {
local log_file=$2

if [[ ! -d "$component_path" ]]; then
echo "Directory $component_path does not exist."
return 1
fi

Expand Down

0 comments on commit d02864f

Please sign in to comment.