summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Uboot.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Uboot.hs')
-rw-r--r--src/Propellor/Property/Uboot.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/Uboot.hs b/src/Propellor/Property/Uboot.hs
index 70b4dd68..562d2441 100644
--- a/src/Propellor/Property/Uboot.hs
+++ b/src/Propellor/Property/Uboot.hs
@@ -26,8 +26,8 @@ sunxi boardname = setInfoProperty (check (not <$> inChroot) go) info
dd :: FilePath -> FilePath -> Property Linux
dd dev prefix = tightenTargets $ cmdProperty "dd"
[ "conv=fsync,notrunc"
- , "if=" ++ prefix </> "/usr/lib/u-boot"
- </> boardname </> "u-boot-sunxi-with-spl.bin"
+ , "if=" ++ prefix ++ "/usr/lib/u-boot/"
+ ++ boardname ++ "/u-boot-sunxi-with-spl.bin"
, "of=" ++ dev
, "bs=1024"
, "seek=8"