rw-update-macro: support -r option for compatibility 73/167773/1 accepted/tizen_4.0_unified accepted/tizen/4.0/unified/20180124.154207 submit/tizen_4.0/20180123.063624
authorSunmin Lee <sunm.lee@samsung.com>
Fri, 19 Jan 2018 06:40:23 +0000 (15:40 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Fri, 19 Jan 2018 06:40:23 +0000 (15:40 +0900)
The -r option of restore_backup_file was removed and
it has restored directory recursively as default.
However, this option is still required to consider
compatibility.

Change-Id: I2d49628a107f11739c641e19033404c7d325c55d
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
upgrade/rw-update-macro.inc

index 31e1f1e6899ce8130e04563630514efea9eaae3e..ef7797b113eca10865d71c39166381fd9513106b 100644 (file)
@@ -78,6 +78,8 @@ restore_backup_file() {
                -f )
                        OVERWRITE=$1
                        ;;
+               -r )
+                       ;;
                * )
                        RESTORE_PATH=$1
                        ;;