Fix bash on install script typo 87/15287/1
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Wed, 11 Jul 2018 12:46:57 +0000 (14:46 +0200)
committerRonan Le Martret <ronan.lemartret@iot.bzh>
Wed, 11 Jul 2018 12:46:57 +0000 (14:46 +0200)
Change-Id: I12e5367a62d2acba3596ea066cd67363c6fc8626
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
meta-audio-4a-framework/recipes-multimedia/4a-hal-generic/4a-hal-generic_git.bb

index 7cc5ba4..97dae65 100644 (file)
@@ -36,16 +36,16 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 ### TODO: this list should be completed for more machines
 
 do_install_append () {
-       # get pkgdir - note that '4a-hal' comes from project ${project_git_repo}/conf.d/cmake/config.cmake
-       PKGDIR=${D}/${INSTALL_PREFIX}/4a-hal
-
-       # move all config files to a 'available' dir
-       mv $PKGDIR/etc $PKGDIR/etc.available
-
-       # then install only required hals files in the etc folder
-       mkdir -p $PKGDIR/etc
-       for x in ${4A_HAL_LIST}; do
-               hal=hal-4a-$x.json
-               mv -v $PKGDIR/etc.available/${hal}.json $PKGDIR/etc/
-       done
+    # get pkgdir - note that '4a-hal' comes from project ${project_git_repo}/conf.d/cmake/config.cmake
+    PKGDIR=${D}/${INSTALL_PREFIX}/4a-hal
+
+    # move all config files to a 'available' dir
+    mv $PKGDIR/etc $PKGDIR/etc.available
+
+    # then install only required hals files in the etc folder
+    mkdir -p $PKGDIR/etc
+    for x in ${4A_HAL_LIST}; do
+        hal=hal-4a-$x.json
+        mv -v $PKGDIR/etc.available/${hal} $PKGDIR/etc/
+    done
 }