We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 650a009 commit 77e0105Copy full SHA for 77e0105
1 file changed
ubuntu-common/build_lib.sh
@@ -129,7 +129,9 @@ __make_barclamp_pkg_metadata() {
129
sudo chown -R "$(whoami)" "$CACHE_DIR/barclamps/$1/$OS_TOKEN/pkgs"
130
if [[ $CURRENT_CACHE_BRANCH ]]; then
131
in_cache git add "barclamps/$1/$OS_TOKEN/pkgs/Packages.gz"
132
- in_cache git add "barclamps/$1/$OS_TOKEN/pkgs/Sources.gz"
+ if in_cache test -f "barclamps/$1/$OS_TOKEN/pkgs/Sources.gz"; then
133
+ in_cache git add "barclamps/$1/$OS_TOKEN/pkgs/Sources.gz"
134
+ fi
135
fi
136
}
137
0 commit comments