diff --git a/.gitignore b/.gitignore index e0be75b..c7721b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Created by https://www.gitignore.io/api/osx,windows,git,c,c++,visualstudio,visualstudiocode,sublimetext,netbeans,intellij,sublimetext,cmake,codeblocks,assembler,atmelstudio,eclipse,jetbrains,linux,macos bin/ +.local_config ### Intellij ### # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm diff --git a/.local_config_example b/.local_config_example new file mode 100644 index 0000000..e94d302 --- /dev/null +++ b/.local_config_example @@ -0,0 +1,10 @@ +#!/bin/bash +############################################################################### +# .local_config +############################################################################### +# +# + +export DeployDirectory='/Volumes/boot/' + +export DeployDevice='/Volumes/boot' diff --git a/deploy b/deploy index dfb33ef..60e7993 100755 --- a/deploy +++ b/deploy @@ -1,3 +1,5 @@ #!/bin/bash -cp bin/kernel.img /Volumes/boot/ && sudo umount /Volumes/boot +source .local_config + +cp bin/kernel.img $DeployDirectory && sudo umount $DeployDevice