Projects
Mega:23.09
openEuler-rpm-config
_service:tar_scm:check-if-the-file-is-a-symboli...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:check-if-the-file-is-a-symbolic-link-in-brp-digest-list.patch of Package openEuler-rpm-config
From 0eea7318489474d20e391cc55eb81f2a642e36f8 Mon Sep 17 00:00:00 2001 From: gaoyusong <gaoyusong2@huawei.com> Date: Fri, 3 Nov 2023 10:55:26 +0800 Subject: [PATCH] check if the file is a symbolic link in brp-digest-list --- brp-digest-list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brp-digest-list b/brp-digest-list index 9ec50a2..77248c9 100644 --- a/brp-digest-list +++ b/brp-digest-list @@ -18,7 +18,7 @@ cat - > $BIN_PKG_FILES trap "rm -f \"${BIN_PKG_FILES}\"" 0 2 3 5 10 13 15 # File empty, exit -if [ -z $(head -c 1 $BIN_PKG_FILES) ]; then +if [ -L $BIN_PKG_FILES ] || [ -z $(head -c 1 $BIN_PKG_FILES) ]; then exit 0 fi -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2