fixed mount path
authorAnas Nashif <anas.nashif@intel.com>
Thu, 26 Jul 2012 21:34:28 +0000 (22:34 +0100)
committerAnas Nashif <anas.nashif@intel.com>
Thu, 26 Jul 2012 21:34:28 +0000 (22:34 +0100)
Change-Id: Ie5f8504c908a8f14e7e1d86eb494558f51c894f1

depanneur

index 6835bdf3d75fd4208e044b68b73d0e1aa01ac8c9..ec11d4b71cec02e6df228380c2a274190d4f06b0 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -584,7 +584,7 @@ sub build_package {
         } else {
             info("Build directory does not exist");
         }
-        my $mount = "sudo mount -o bind $path $scratch/home/abuild/rpmbuild/BUILD/$name-$version";
+        my $mount = "sudo mount -o bind $package_path $scratch/home/abuild/rpmbuild/BUILD/$name-$version";
         system($mount);
         $incremental_opt = "--short-circuit --stage=\"-bc\"";
         my $no_configure = "";