Loading extrapkg +3 −2 Original line number Diff line number Diff line Loading @@ -65,8 +65,9 @@ fi if [ "$repo" != "community" ]; then # combine what we know into a variable uploadto="staging/${repo}/$(basename ${pkgfile})" scp ${scpopts} "${pkgfile}" "archlinux.org:${uploadto}" if [ "$(md5sum "${pkgfile}" | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum "${uploadto}" | cut -d' ' -f1)" ]; then server="archlinux.org" scp ${scpopts} "${pkgfile}" "${server}:${uploadto}" if [ "$(md5sum "${pkgfile}" | cut -d' ' -f1)" != "$(ssh ${server} md5sum "${uploadto}" | cut -d' ' -f1)" ]; then echo "File got corrupted during upload, cancelled." exit 1 else Loading Loading
extrapkg +3 −2 Original line number Diff line number Diff line Loading @@ -65,8 +65,9 @@ fi if [ "$repo" != "community" ]; then # combine what we know into a variable uploadto="staging/${repo}/$(basename ${pkgfile})" scp ${scpopts} "${pkgfile}" "archlinux.org:${uploadto}" if [ "$(md5sum "${pkgfile}" | cut -d' ' -f1)" != "$(ssh archlinux.org md5sum "${uploadto}" | cut -d' ' -f1)" ]; then server="archlinux.org" scp ${scpopts} "${pkgfile}" "${server}:${uploadto}" if [ "$(md5sum "${pkgfile}" | cut -d' ' -f1)" != "$(ssh ${server} md5sum "${uploadto}" | cut -d' ' -f1)" ]; then echo "File got corrupted during upload, cancelled." exit 1 else Loading