summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2023-10-23 17:20:46 +0900
committerbiao716.wang <biao716.wang@samsung.com>2023-10-23 17:20:46 +0900
commit37067906c775acb9ce34feef695120ecb3b0f889 (patch)
tree523b80b9c61c826d1ffd995c5686ddbb88df4fd4
parent043a495872e1ade65d2fbbf44d51b0fa64cb615d (diff)
downloadrpm-accepted/tizen_base_riscv.tar.gz
rpm-accepted/tizen_base_riscv.tar.bz2
rpm-accepted/tizen_base_riscv.zip
Change-Id: Iebcaa7de2dd57dc740cb1f99ab4c0c505d39de56 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
-rw-r--r--build/parseBuildInstallClean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseBuildInstallClean.c b/build/parseBuildInstallClean.c
index 199571720..5ecf77c4a 100644
--- a/build/parseBuildInstallClean.c
+++ b/build/parseBuildInstallClean.c
@@ -59,7 +59,7 @@ int parseBuildInstallClean(rpmSpec spec, int parsePart)
"for s in guess sub; do\n"
" for c in $(find -maxdepth 8 -name \"config.$s\"); do\n"
" grep -q config-patches@ $c || continue\n"
- " timestamp=$(sed -n \"/^timestamp=/{s///;s/[-'\\\"]//g;p;q;}\" $c)\n"
+ " timestamp=$(sed -n \"/^timestamp=/{s///;s/[-'\\\"]//g;p;q;}\" $c | tr -d '\r')\n"
" test -n \"$timestamp\" || timestamp=0\n"
" test $timestamp -ge $mints || install -m 755 $ref/config.$s $c\n"
" done\n"