From 16cbd9d517e144e5673661d236a1c06fb2401e28 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sun, 6 Oct 2024 14:47:22 -0700 Subject: [PATCH] feat(patches): include submodule patch Signed-off-by: zontreck --- ...ript-fix-accounting-for-firestorm-be.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 patches/0001-fix-configure_script-fix-accounting-for-firestorm-be.patch diff --git a/patches/0001-fix-configure_script-fix-accounting-for-firestorm-be.patch b/patches/0001-fix-configure_script-fix-accounting-for-firestorm-be.patch new file mode 100644 index 0000000..3d0591d --- /dev/null +++ b/patches/0001-fix-configure_script-fix-accounting-for-firestorm-be.patch @@ -0,0 +1,32 @@ +From 10f458e7d376c0b3c873e7a5c3dab24a1143bc9d Mon Sep 17 00:00:00 2001 +From: zontreck +Date: Sun, 6 Oct 2024 14:42:33 -0700 +Subject: [PATCH] fix(configure_script): fix accounting for firestorm being a + submodule instead of root repo + +Signed-off-by: zontreck +--- + scripts/configure_firestorm.sh | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/scripts/configure_firestorm.sh b/scripts/configure_firestorm.sh +index 73ebcfe17d..8dc93f3a97 100755 +--- a/scripts/configure_firestorm.sh ++++ b/scripts/configure_firestorm.sh +@@ -433,7 +433,12 @@ if [ \( $WANTS_VERSION -eq $TRUE \) -o \( $WANTS_CONFIG -eq $TRUE \) ] ; then + then + buildVer=`git rev-list --count HEAD` + else +- buildVer=`hg summary | head -1 | cut -d " " -f 2 | cut -d : -f 1 | grep "[0-9]*"` ++ if [ -f .git ] ++ then ++ buildVer=`git rev-list --count HEAD` ++ else ++ buildVer=`hg summary | head -1 | cut -d " " -f 2 | cut -d : -f 1 | grep "[0-9]*"` ++ fi + fi + export revision=${buildVer} + +-- +2.46.2 +