Patchwork [v2] live-image/fwts-frontend-text: use mv versus ln as symbolic links are not supported on fat file systems

login
register
mail settings
Submitter Chris Van Hoof
Date July 10, 2012, 2:56 p.m.
Message ID <1341932184-19391-1-git-send-email-vanhoof@canonical.com>
Download mbox | patch
Permalink /patch/170202/
State Accepted
Headers show

Comments

Chris Van Hoof - July 10, 2012, 2:56 p.m.
Signed-off-by: Chris Van Hoof <vanhoof@canonical.com>
---
 live-image/fwts-frontend-text |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Colin King - July 10, 2012, 4:28 p.m.
On 10/07/12 15:56, Chris Van Hoof wrote:
> Signed-off-by: Chris Van Hoof <vanhoof@canonical.com>
> ---
>   live-image/fwts-frontend-text |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
> index 932c068..8315d47 100755
> --- a/live-image/fwts-frontend-text
> +++ b/live-image/fwts-frontend-text
> @@ -197,7 +197,7 @@ done_tests_finish()
>   {
>       if [ -n "${CASPER_DETECTED:+x}" ]; then
>           cd $WORK_DIR
> -        ln -sf ./results.html ../../results.html
> +        mv ./results.html ../../results.html
>       else
>           ln -sf $WORK_DIR/results.html /fwts/results.html
>       fi
>
Acked-by: Colin Ian King <colin.king@canonical.com>
Keng-Yu Lin - July 11, 2012, 2:02 a.m.
On Tue, Jul 10, 2012 at 10:56 PM, Chris Van Hoof <vanhoof@canonical.com> wrote:
> Signed-off-by: Chris Van Hoof <vanhoof@canonical.com>
> ---
>  live-image/fwts-frontend-text |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
> index 932c068..8315d47 100755
> --- a/live-image/fwts-frontend-text
> +++ b/live-image/fwts-frontend-text
> @@ -197,7 +197,7 @@ done_tests_finish()
>  {
>      if [ -n "${CASPER_DETECTED:+x}" ]; then
>          cd $WORK_DIR
> -        ln -sf ./results.html ../../results.html
> +        mv ./results.html ../../results.html
>      else
>          ln -sf $WORK_DIR/results.html /fwts/results.html
>      fi
> --
> 1.7.9.5
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>

Patch

diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
index 932c068..8315d47 100755
--- a/live-image/fwts-frontend-text
+++ b/live-image/fwts-frontend-text
@@ -197,7 +197,7 @@  done_tests_finish()
 {
     if [ -n "${CASPER_DETECTED:+x}" ]; then
         cd $WORK_DIR
-        ln -sf ./results.html ../../results.html
+        mv ./results.html ../../results.html
     else
         ln -sf $WORK_DIR/results.html /fwts/results.html
     fi