fix: Add wrapper around script (#388)

* Add wrapper

* Update start.sh

* Update startdev.sh
This commit is contained in:
JEEVITHA KANNAN K S 2024-09-19 07:19:24 +05:30 committed by GitHub
parent f64fa2bd12
commit 04537216d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
# Prevent execution if this script was only partially downloaded
{
rc='\033[0m' rc='\033[0m'
red='\033[0;31m' red='\033[0;31m'
@ -46,3 +48,4 @@ check $? "Executing linutil"
rm -f "$temp_file" rm -f "$temp_file"
check $? "Deleting the temporary file" check $? "Deleting the temporary file"
} # End of wrapping

View File

@ -1,5 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
# Prevent execution if this script was only partially downloaded
{
RC='\033[0m' RC='\033[0m'
RED='\033[0;31m' RED='\033[0;31m'
@ -73,3 +75,4 @@ check $? "Executing linutil"
rm -f $TMPFILE rm -f $TMPFILE
check $? "Deleting the temporary file" check $? "Deleting the temporary file"
} # End of wrapping