#!/bin/bash TARGET=$(make build-target 2>/dev/null) cp "./target/$TARGET/debug/kernel" target/kernel_exe