diff --git a/scripts/make-stable.sh b/scripts/make-stable.sh index 2d37124..5ea5dad 100755 --- a/scripts/make-stable.sh +++ b/scripts/make-stable.sh @@ -20,6 +20,12 @@ DIRS="images ipk sdk tools cache-state sources cache conf" for i in $DIRS; 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" rsync $ARGS --delete -avH \ --link-dest=$PWD/web-files/$MACHINE/$RELEASE-testing/$i \