gnuzilla-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix DEVEL=1 build


From: Yuchen Pei
Subject: [PATCH] Fix DEVEL=1 build
Date: Sat, 30 Sep 2023 22:33:49 +1000

When setting DEVEL=1 in makeicecat, the build fails at the following
step

    for file_to_append in $(cd "${DATADIR}"/files-to-append; find . -type f 
-print); do
        echo Appending new data to the end of file: $file_to_append
        cat "${DATADIR}"/files-to-append/$file_to_append >> $file_to_append
    done

Removing ${DATADIR}/files-to-append/l10n/* fixes the issue.
---
 makeicecat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makeicecat b/makeicecat
index 3a32a71..0fdcff5 100755
--- a/makeicecat
+++ b/makeicecat
@@ -56,7 +56,7 @@ readonly SOURCEDIR=icecat-${FFVERSION}
 # debug/shell options
 readonly DEVEL=0
 set -euo pipefail
-(( DEVEL )) && set -x
+(( DEVEL )) && set -x && rm -rf "${DATADIR}/files-to-append/l10n/"*
 
 
 ###############################################################################
-- 
2.42.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]