- .cgi files will be copied to cgi-bin in application directory.
Signed-off-by: Sam Nelson <[email protected]>
---
.../recipes-core/matrix/matrix-gui-apps.inc | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc
b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc
index 4d3b609..cba6337 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-apps.inc
@@ -16,7 +16,7 @@ do_install_append(){
install -d ${D}${MATRIX_APP_DIR}/$appdir
# Get the non-script files which are the matrix metadata
- matrix_apps=`find $appdir -type f ! -name "*\.sh"`
+ matrix_apps=`find $appdir -type f ! -name "*\.sh" -or -name "*\.cgi"`
for m in $matrix_apps
do
install -m 0644 ${MATRIX_FILES_DIR}/$m
${D}${MATRIX_APP_DIR}/$appdir/
@@ -32,6 +32,15 @@ do_install_append(){
fi
install -m 0755 ${MATRIX_FILES_DIR}/$s ${D}${bindir}/
done
+
+ # Put the cgi files in cg-bin directory
+ matrix_cgi=`find $appdir -type f -name "*\.cgi"`
+
+ for c in $matrix_cgi
+ do
+ install -d ${D}${MATRIX_APP_DIR}/$appdir/cgi-bin
+ install -m 0755 ${MATRIX_FILES_DIR}/$c
${D}${MATRIX_APP_DIR}/$appdir/cgi-bin/
+ done
done
# Go back to the directory we started from in case there are
--
1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago