Configure: Pass the -r flag to scp when cross-compiling
authorBrian Fraser <fraserbn@gmail.com>
Fri, 9 Aug 2013 05:56:18 +0000 (02:56 -0300)
committerBrian Fraser <fraserbn@gmail.com>
Wed, 22 Jan 2014 16:08:20 +0000 (13:08 -0300)
Configure

index d4bbb49..245836c 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -3003,11 +3003,11 @@ do
   case "\$f" in
   /*)
     $targetmkdir \`dirname \$f\`
-    $targetto -P $targetport $q \$f $targetuser@$targethost:\$f            || exit 1
+    $targetto -P $targetport -r $q \$f $targetuser@$targethost:\$f            || exit 1
     ;;
   *)
     $targetmkdir $targetdir/\`dirname \$f\`
-    $targetto -P $targetport $q \$f $targetuser@$targethost:$targetdir/\$f || exit 1
+    $targetto -P $targetport -r $q \$f $targetuser@$targethost:$targetdir/\$f || exit 1
     ;;
   esac
 done