From: LaMont Jones Date: Wed, 12 Sep 2007 16:04:41 +0000 (-0600) Subject: build: cfdisk doesn't exist on some architectures. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95704d64e3ae843294f042d991cccd6e5673decc;p=util-linux build: cfdisk doesn't exist on some architectures. --- diff --git a/debian/rules b/debian/rules index 3bce8c68..c542fc54 100755 --- a/debian/rules +++ b/debian/rules @@ -109,7 +109,7 @@ ifneq ($(DISTRO),Debian) endif cd debian; if [ -f util-linux/sbin/fdisk ]; then \ ln util-linux/sbin/*fdisk fdisk-udeb/usr/sbin; \ - mv fdisk-udeb/usr/sbin/cfdisk cfdisk-udeb/usr/sbin; \ + S=fdisk-udeb/usr/sbin/cfdisk; if [ -f $$S ]; then mv $$S cfdisk-udeb/usr/sbin; fi; \ fi cd debian/util-linux-locales && find usr/share/locale -type f | while read x; do ln $$x ../cfdisk-udeb/$$x; done ifeq ($(DEB_HOST_ARCH_OS),linux)