aboutsummaryrefslogtreecommitdiffstats
path: root/remove_info_dir
diff options
context:
space:
mode:
Diffstat (limited to 'remove_info_dir')
-rwxr-xr-xremove_info_dir2
1 files changed, 1 insertions, 1 deletions
diff --git a/remove_info_dir b/remove_info_dir
index ae21fcb..aa1e152 100755
--- a/remove_info_dir
+++ b/remove_info_dir
@@ -6,7 +6,7 @@ test -n "$RPM_BUILD_ROOT" || exit 0
dir="$RPM_BUILD_ROOT/$INFODIR"
-if test -z "$DONT_REMOVE_INFO_DIR" -a -f $dir -a ! -L $dir; then
+if [ -f $dir -a ! -L $dir ]; then
rm -f $dir
fi