diff --git a/scripts/make-stable.sh b/scripts/make-stable.sh index 5ea5dad..8146e41 100755 --- a/scripts/make-stable.sh +++ b/scripts/make-stable.sh @@ -13,7 +13,9 @@ RELEASE=$2 DRYRUN=$3 if [ "x$DRYRUN" != "x" ]; then - ARGS=--dry-run + BASE_ARGS="--recursive --delete --links --verbose --dry-run " +else + BASE_ARGS="--delete -avH" fi DIRS="images ipk sdk tools cache-state sources cache conf" @@ -26,9 +28,14 @@ do continue fi - echo "Working on $i" - rsync $ARGS --delete -avH \ - --link-dest=$PWD/web-files/$MACHINE/$RELEASE-testing/$i \ + if [ "x$DRYRUN" != "x" ]; then + ARGS="$BASE_ARGS" + else + ARGS="$BASE_ARGS --link-dest=$PWD/web-files/$MACHINE/$RELEASE-testing/$i" + fi + + echo "Checking $i" + rsync $ARGS \ web-files/$MACHINE/$RELEASE-testing/$i/ \ - web-files/$MACHINE/$RELEASE/$i/ + web-files/$MACHINE/$RELEASE/$i/ | egrep -v "sending incre|sent |total" done