diff mbox

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

Message ID 1341932184-19391-1-git-send-email-vanhoof@canonical.com
State Accepted
Headers show

Commit Message

Chris Van Hoof July 10, 2012, 2:56 p.m. UTC
Signed-off-by: Chris Van Hoof <vanhoof@canonical.com>
---
 live-image/fwts-frontend-text |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King July 10, 2012, 4:28 p.m. UTC | #1
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. UTC | #2
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>
diff mbox

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