feat: Allow to run script from outside ~/.bootstrap directory
This commit is contained in:
6
os.bash
6
os.bash
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
for file in os.d/*.bash; do
|
||||
bash $file
|
||||
BASEDIR=$(cd "$(dirname "$0")" && pwd)
|
||||
|
||||
for file in "${BASEDIR}"/os.d/*.bash; do
|
||||
bash "${file}"
|
||||
done
|
||||
|
Reference in New Issue
Block a user