make-stable: Gracefully skip directories that do not exist
This commit is contained in:
parent
d413b7be38
commit
30fac6acb8
|
@ -20,6 +20,12 @@ DIRS="images ipk sdk tools cache-state sources cache conf"
|
||||||
|
|
||||||
for i in $DIRS;
|
for i in $DIRS;
|
||||||
do
|
do
|
||||||
|
if [ ! -e $PWD/web-files/$MACHINE/$RELEASE-testing/$i ]; then
|
||||||
|
echo "Skipping $i, directory doesn't exist"
|
||||||
|
echo ""
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Working on $i"
|
echo "Working on $i"
|
||||||
rsync $ARGS --delete -avH \
|
rsync $ARGS --delete -avH \
|
||||||
--link-dest=$PWD/web-files/$MACHINE/$RELEASE-testing/$i \
|
--link-dest=$PWD/web-files/$MACHINE/$RELEASE-testing/$i \
|
||||||
|
|
Loading…
Reference in New Issue