flex: Patch Makefile.in instead of Makefile.am
[termux-packages] / scripts / check-versions.sh
... / ...
CommitLineData
1#!/usr/bin/env bash
2# check-versions.sh - script to open packages in a browser for checking their versions
3
4OPEN=xdg-open
5if [ `uname` = Darwin ]; then OPEN=open; fi
6
7check_package() { # path
8 local path=$1
9 local pkg=`basename $path`
10 . $path/build.sh
11 echo -n "$pkg - $TERMUX_PKG_VERSION"
12 read
13 $OPEN $TERMUX_PKG_HOMEPAGE
14}
15
16# Run each package in separate process since we include their environment variables:
17for path in packages/*; do
18(
19 check_package $path
20)
21done