ausil pushed to uboot-tools (master). "install the file into the directory, which trims paths as needed"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 18:55:47 UTC 2015


>From 6392274bc9baea2c3b8cc59b0bc907a54d15c149 Mon Sep 17 00:00:00 2001
From: Dennis Gilmore <dennis at ausil.us>
Date: Mon, 30 Mar 2015 13:51:58 -0500
Subject: install the file into the directory, which trims paths as needed


diff --git a/uboot-tools.spec b/uboot-tools.spec
index 7f97403..b7f5949 100644
--- a/uboot-tools.spec
+++ b/uboot-tools.spec
@@ -149,7 +149,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/
  for file in MLO SPL spl/arndale-spl.bin spl/origen-spl.bin spl/smdkv310-spl.bin u-boot.bin u-boot.dtb u-boot-dtb-tegra.bin u-boot.img u-boot.imx u-boot-nodtb-tegra.bin u-boot-spl.kwb u-boot-sunxi-with-spl.bin
  do
   if [ -f builds/$(echo $board)/$(echo $file) ]; then
-    install -p -m 0644 builds/$(echo $board)/$(echo $file) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/$(echo $file)
+    install -p -m 0644 builds/$(echo $board)/$(echo $file) $RPM_BUILD_ROOT%{_datadir}/uboot/$(echo $board)/
   fi
  done
 done
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/uboot-tools.git/commit/?h=master&id=6392274bc9baea2c3b8cc59b0bc907a54d15c149


More information about the scm-commits mailing list