Skip to content

Commit

Permalink
Do not depend on bc being installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Nov 22, 2023
1 parent f847738 commit c1cc99b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 117 deletions.
2 changes: 1 addition & 1 deletion build-any-ib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ which lsb_release > /dev/null 2>&1 && lsb_release -a
uname -a
date

BUILD_DATE=$(echo 2015$(echo "$(date -u +%s) / (86400 * 3)" | bc))
BUILD_DATE=$(echo 2015$(($(echo "$(date -u +%s) / (86400 * 3)"))))

MIRROR=mirror

Expand Down
2 changes: 1 addition & 1 deletion build-package
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ case "$ALIDIST_SLUG" in
*) ALIDIST_REPO=$ALIDIST_SLUG ;;
esac

BUILD_DATE=$(echo 2015$(echo "$(date -u +%s) / (86400 * 3)" | bc))
BUILD_DATE=$(echo 2015$(($(echo "$(date -u +%s) / (86400 * 3)"))))

MIRROR=mirror

Expand Down
115 changes: 0 additions & 115 deletions daq-da-rpms.sh

This file was deleted.

0 comments on commit c1cc99b

Please sign in to comment.