diff options
author | trevor <trevor@FreeBSD.org> | 2004-02-17 17:45:18 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2004-02-17 17:45:18 +0800 |
commit | 453a337215b2f5924df2323c3f79be3cf5be4df2 (patch) | |
tree | 8240ce0be22e5d3e53919f35aff1d7f328887dbb /emulators | |
parent | 23375bc8ca04be489a15aed25df04f48259e3d4d (diff) | |
download | freebsd-ports-gnome-453a337215b2f5924df2323c3f79be3cf5be4df2.tar.gz freebsd-ports-gnome-453a337215b2f5924df2323c3f79be3cf5be4df2.tar.zst freebsd-ports-gnome-453a337215b2f5924df2323c3f79be3cf5be4df2.zip |
Use CUT macro.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/linux_base-gentoo-stage1/Makefile | 2 | ||||
-rw-r--r-- | emulators/linux_dist-gentoo-stage1/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/linux_base-gentoo-stage1/Makefile b/emulators/linux_base-gentoo-stage1/Makefile index 4444340779fe..92e72fffb245 100644 --- a/emulators/linux_base-gentoo-stage1/Makefile +++ b/emulators/linux_base-gentoo-stage1/Makefile @@ -48,7 +48,7 @@ CONFLICTS=cle_base-* linux_base-6* linux_base-7* linux_base-8* linux_base-debia* pre-install: ${ECHO_CMD} etc/resolv.conf > ${PLIST} - ${TAR} tyf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | cut -c3-100 \ + ${TAR} tyf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${CUT} -c3-100 \ > ${WRKDIR}/list.txt cd ${WRKDIR} && ${GREP} -v '/$$' ${WRKDIR}/list.txt >> ${PLIST} ${GREP} '/$$' ${WRKDIR}/list.txt | ${SED} -e "s:^:@dirrm :g" >> ${PLIST} diff --git a/emulators/linux_dist-gentoo-stage1/Makefile b/emulators/linux_dist-gentoo-stage1/Makefile index 4444340779fe..92e72fffb245 100644 --- a/emulators/linux_dist-gentoo-stage1/Makefile +++ b/emulators/linux_dist-gentoo-stage1/Makefile @@ -48,7 +48,7 @@ CONFLICTS=cle_base-* linux_base-6* linux_base-7* linux_base-8* linux_base-debia* pre-install: ${ECHO_CMD} etc/resolv.conf > ${PLIST} - ${TAR} tyf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | cut -c3-100 \ + ${TAR} tyf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${CUT} -c3-100 \ > ${WRKDIR}/list.txt cd ${WRKDIR} && ${GREP} -v '/$$' ${WRKDIR}/list.txt >> ${PLIST} ${GREP} '/$$' ${WRKDIR}/list.txt | ${SED} -e "s:^:@dirrm :g" >> ${PLIST} |