mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:07:34 +00:00
Build: Meta: Allow makeall.sh and run to be called from any directory
These scripts assume that they are called from within Kernel/ directory. For convenience, set the current working directory in the scripts to the path where they are located.
This commit is contained in:
parent
0fdbe08637
commit
ef6eb07468
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
||||
cd "$script_path"
|
||||
|
||||
#SERENITY_PACKET_LOGGING_ARG="-object filter-dump,id=hue,netdev=breh,file=e1000.pcap"
|
||||
|
||||
[ -e /dev/kvm -a -r /dev/kvm -a -w /dev/kvm ] && SERENITY_KVM_ARG="-enable-kvm"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue