diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-05 18:06:14 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-11-05 18:12:07 +0100 |
commit | 2d498a3c1c36eb22bcf5c890f5c1094e4ca56756 (patch) | |
tree | 9b20ccb313b8ac098945145b08774aa47f294eca /pkgs/build-support/release | |
parent | 9b014b364244507c02cff2c0e16899aa883faf6a (diff) |
findTarballs: Take nullglob into account
Diffstat (limited to 'pkgs/build-support/release')
-rw-r--r-- | pkgs/build-support/release/functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/release/functions.sh b/pkgs/build-support/release/functions.sh index efc4e7970cc5..877edf92728c 100644 --- a/pkgs/build-support/release/functions.sh +++ b/pkgs/build-support/release/functions.sh @@ -1,8 +1,8 @@ findTarballs() { - local suffix + local suffix i test -d "$1/tarballs/" && { for suffix in tar.gz tgz tar.bz2 tbz2 tar.xz tar.lzma; do - ls $1/tarballs/*.$suffix 2> /dev/null + for i in $1/tarballs/*.$suffix; do echo $i; done done | sort } echo "$1" |