Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add wrapper around script #388

Merged
merged 3 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# Prevent execution if this script was only partially downloaded
{
rc='\033[0m'
red='\033[0;31m'

Expand Down Expand Up @@ -46,3 +48,4 @@ check $? "Executing linutil"

rm -f "$temp_file"
check $? "Deleting the temporary file"
} # End of wrapping
jeevithakannan2 marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions startdev.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# Prevent execution if this script was only partially downloaded
{
RC='\033[0m'
RED='\033[0;31m'

Expand Down Expand Up @@ -73,3 +75,4 @@ check $? "Executing linutil"

rm -f $TMPFILE
check $? "Deleting the temporary file"
} # End of wrapping
jeevithakannan2 marked this conversation as resolved.
Show resolved Hide resolved