Skip to content

Commit 2886542

Browse files
committed
Ignore archiving errors from nonexistent files
1 parent bf70e4f commit 2886542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/archive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fi
4747

4848
for DEST in $DESTS ; do
4949
mkdir -p $(dirname $DEST)
50-
tar -cjvf $DEST $TAR_PATHS
50+
tar -cjf $DEST $(ls -d $TAR_PATHS 2>/dev/null || true)
5151

5252
pushd $(dirname $DEST) &>/dev/null
5353

0 commit comments

Comments
 (0)