[Lunar-commits] <moonbase-other> heimdal: Removed unnecessary exit 1 calls

Stefan Wold ratler at lunar-linux.org
Sun Sep 15 16:04:55 CEST 2013


commit e6092babdbd0af0eb8e5014f9e36d6d291e149ea
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 14 Sep 2013 14:26:59 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/e6092babdbd0af0eb8e5014f9e36d6d291e149ea

heimdal: Removed unnecessary exit 1 calls
---
  crypto/heimdal/BUILD | +5/-5     
  1 file changed, 5 insertions(+), 5 deletions(-)

--- a/crypto/heimdal/BUILD
+++ b/crypto/heimdal/BUILD
@@ -31,15 +31,15 @@ INSTALL_CATPAGES="no" make DESTDIR=$SOURCE_DIRECTORY/__heimdest/ install &&
 
 # Rename files that otherwise would conflict
 for i in rshd telnetd ftpd; do
-  mv $SOURCE_DIRECTORY/__heimdest/usr/sbin/{,k}${i} || exit 1
-  mv $SOURCE_DIRECTORY/__heimdest/usr/share/man/man8/{,k}${i}.8 || exit 1
+  mv -f $SOURCE_DIRECTORY/__heimdest/usr/sbin/{,k}${i} &&
+  mv -f $SOURCE_DIRECTORY/__heimdest/usr/share/man/man8/{,k}${i}.8
 done &&
 
 for i in rsh su telnet ftp login rcp; do
   if [ -f $SOURCE_DIRECTORY/__heimdest/usr/share/man/man1/${i}.1 ]; then
-    mv $SOURCE_DIRECTORY/__heimdest/usr/share/man/man1/{,k}${i}.1 || exit 1
-  fi
-  mv $SOURCE_DIRECTORY/__heimdest/usr/bin/{,k}${i} || exit 1
+    mv -f $SOURCE_DIRECTORY/__heimdest/usr/share/man/man1/{,k}${i}.1
+  fi &&
+  mv -f $SOURCE_DIRECTORY/__heimdest/usr/bin/{,k}${i}
 done &&
 
 prepare_install &&




More information about the Lunar-commits mailing list