diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-29 11:09:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-29 11:09:34 +0000 |
commit | c22cb56acddf5bc4147f60908d5ebd770a079070 (patch) | |
tree | 302eb716e7d6c4b9c514cf5cd9575b5a347fe220 /brp-remove-info-dir | |
parent | b28db8b7389e86a8b2a424f4851ecf7714373516 (diff) |
automatic import of openEuler-rpm-config
Diffstat (limited to 'brp-remove-info-dir')
-rw-r--r-- | brp-remove-info-dir | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/brp-remove-info-dir b/brp-remove-info-dir deleted file mode 100644 index 5961830..0000000 --- a/brp-remove-info-dir +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -if [ -z "$RPM_BUILD_ROOT" ]; then - echo "No build root defined" >&2 - exit 1 -fi - -if [ ! -d "$RPM_BUILD_ROOT" ]; then - echo "Invalid build root" >&2 - exit 1 -fi - -INFODIR=`rpm --eval %{_infodir}/dir` - -dir="$RPM_BUILD_ROOT/$INFODIR" - -if [ -f $dir -a ! -L $dir ]; then - rm -f $dir -fi |