diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 19:13:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-23 19:13:08 +0000 |
commit | 000393712e9f30897feb5d592cc6901777494ab4 (patch) | |
tree | 93e5c52e874952ea675224e92e0911f8105a9324 /include/shell.sh | |
parent | 437ffd097074a8d756bcfaad18ca7df8388b1701 (diff) | |
download | mtk-20170518-000393712e9f30897feb5d592cc6901777494ab4.zip mtk-20170518-000393712e9f30897feb5d592cc6901777494ab4.tar.gz mtk-20170518-000393712e9f30897feb5d592cc6901777494ab4.tar.bz2 |
make busybox autorebuild on relevant config changes
SVN-Revision: 6651
Diffstat (limited to 'include/shell.sh')
-rw-r--r-- | include/shell.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/shell.sh b/include/shell.sh index 1e60692..db41003 100644 --- a/include/shell.sh +++ b/include/shell.sh @@ -28,3 +28,7 @@ trapret() {( } } )} + +md5s() { + which md5sum 2>&- >&- && md5sum "$@" | awk '{print $1}' || md5 "$@" +} |