aboutsummaryrefslogtreecommitdiffstats
path: root/remove_info_dir
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2009-05-23 12:30:35 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2009-05-23 12:30:35 +0000
commit0af7318080a8601ed20a6ae2f7725a2be2d4f934 (patch)
treeba48efd3b36296b2db0f637b336fcfd7653cd5bb /remove_info_dir
parent406defb2c0424bf0e4d4da98b1ac7e5ee396111f (diff)
downloadspec-helper-0af7318080a8601ed20a6ae2f7725a2be2d4f934.tar
spec-helper-0af7318080a8601ed20a6ae2f7725a2be2d4f934.tar.gz
spec-helper-0af7318080a8601ed20a6ae2f7725a2be2d4f934.tar.bz2
spec-helper-0af7318080a8601ed20a6ae2f7725a2be2d4f934.tar.xz
spec-helper-0af7318080a8601ed20a6ae2f7725a2be2d4f934.zip
checking for DONT_REMOVE_INFO_DIR var is done in rpm macro
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