Skip to content

Commit c7dec3f

Browse files
committed
verify repository presence in publish script
1 parent 1205b6e commit c7dec3f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/publish-updates.sh

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ then
3838
RSYNC_OPTS+=" -n"
3939
fi
4040

41+
if [ ! -d ../ilg.gnuarmeclipse-repository/target/repository ]
42+
then
43+
echo "No repository folder found"
44+
exit 1
45+
fi
46+
4147
cd ../ilg.gnuarmeclipse-repository/target
4248

4349
echo "Rsync-ing SourceForge $SF_FOLDER$TEST site"

0 commit comments

Comments
 (0)