Replace leftover x86 with ${ARCH} in recreate-iso.sh
authorW. Trevor King <wking@drexel.edu>
Tue, 23 Mar 2010 16:43:23 +0000 (12:43 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 23 Mar 2010 16:43:23 +0000 (12:43 -0400)
buildscripts/recreate-iso.sh

index 1f297b2f5f2cd3cebe26e1011c93151bb04ca282..9bffc438314844d8ed4dd59d24f2b575d3b37e38 100755 (executable)
@@ -89,7 +89,7 @@ mount -o loop,ro ${CURFILE} ${MOUNTDIR} || die "Cannot mount \"${CURFILE}\""
 
 [ -d ${WORKDIR} ] && rm -rf ${WORKDIR}
 mkdir -p ${WORKDIR}
-cp ${MOUNTDIR}/isolinux/rescuecd* ${REPOBIN}/kernels-x86/
+cp ${MOUNTDIR}/isolinux/rescuecd* ${REPOBIN}/kernels-${ARCH}/
 cp ${MOUNTDIR}/image.squashfs ${WORKDIR}/sysrcd.dat
 ( cd ${WORKDIR} ; md5sum sysrcd.dat > sysrcd.md5 ; chmod 644 sysrcd.* ) 
 umount ${MOUNTDIR}