diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-23 19:13:08 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-23 19:13:08 +0000 |
commit | c3241962560c5e114f3bbc3e7f1a52917730993e (patch) | |
tree | 51d334bb81e3af89f8afaffeae6940043cb256bd /include/shell.sh | |
parent | 78a4e88e7631e101b3917c58d9de741768598e7a (diff) |
make busybox autorebuild on relevant config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6651 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 1e60692b97..db41003262 100644 --- a/include/shell.sh +++ b/include/shell.sh @@ -28,3 +28,7 @@ trapret() {( } } )} + +md5s() { + which md5sum 2>&- >&- && md5sum "$@" | awk '{print $1}' || md5 "$@" +} |