aboutsummaryrefslogtreecommitdiff
path: root/ledge-debian
diff options
context:
space:
mode:
authorChristophe Priouzeau <christophe.priouzeau@linaro.org>2019-09-02 15:00:28 +0200
committerChristophe Priouzeau <christophe.priouzeau@linaro.org>2019-09-02 15:00:28 +0200
commitffa12ae845321057d7be2c3e836b745157c34fa1 (patch)
tree20eac8b06f33e0fa30a04f622cba7c7bd25c409c /ledge-debian
parentb999315f8cbf40b8e884b508258997f83a1486b4 (diff)
LEDGE-DEBIAN: correct chown command
Change-Id: Ic553d4582cf814bb5357c05337be9095c5ec93ca Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org>
Diffstat (limited to 'ledge-debian')
-rw-r--r--ledge-debian/builders-fai.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ledge-debian/builders-fai.sh b/ledge-debian/builders-fai.sh
index 7719c412..8a7a133e 100644
--- a/ledge-debian/builders-fai.sh
+++ b/ledge-debian/builders-fai.sh
@@ -73,7 +73,7 @@ for rootfs in ${ROOTFS}; do
if [ -f out/rootfs-ledge-debian.tar ];
then
mv out/rootfs-ledge-debian.tar out/rootfs-${image_name}.tar
- sudo chown -g `id -g -n $USER` out/rootfs-${image_name}.tar
+ sudo chown $USER:`id -g -n $USER` out/rootfs-${image_name}.tar
xz -z out/rootfs-${image_name}.tar
fi