fix: correct script path in setup.sh for proper execution
This commit is contained in:
4
setup.sh
4
setup.sh
@@ -25,10 +25,8 @@ if [ -d "$DOTFILES_DIR/scripts" ]; then
|
|||||||
|
|
||||||
# Look for numbered scripts and run them in order
|
# Look for numbered scripts and run them in order
|
||||||
script_count=0
|
script_count=0
|
||||||
for script in "$DOTFILES_DIR/scripts"/[0-9][0-9]-*.sh; do
|
for script in "$DOTFILES_DIR"/scripts/[0-9][0-9]-*.sh; do
|
||||||
if [ -f "$script" ]; then
|
if [ -f "$script" ]; then
|
||||||
# Make executable and run
|
|
||||||
chmod +x "$script" 2>/dev/null || true
|
|
||||||
script_name=$(basename "$script")
|
script_name=$(basename "$script")
|
||||||
log_info "Running $script_name..."
|
log_info "Running $script_name..."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user