Browse Source

Make list-packages.sh be runnable by sh

android-5
Fredrik Fornwall 10 years ago
parent
commit
d42599b2e3
  1. 13
      list-packages.sh

13
list-packages.sh

@ -1,9 +1,8 @@
#!/usr/bin/env bash
#!/bin/sh
# list-packages.sh - tool to list all package with home pages and descriptions
for path in packages/*; do (
pkg=`basename $path`
. $path/build.sh
echo "$pkg($TERMUX_PKG_VERSION): $TERMUX_PKG_HOMEPAGE"
echo " $TERMUX_PKG_DESCRIPTION"
) done
for path in packages/*; do
export path
export pkg=`basename $path`
bash -c '. $path/build.sh; echo "$pkg($TERMUX_PKG_VERSION): $TERMUX_PKG_HOMEPAGE"; echo " $TERMUX_PKG_DESCRIPTION"'
done

Loading…
Cancel
Save