Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65173650
debugging.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jun 1, 12:23
Size
389 B
Mime Type
text/x-shellscript
Expires
Mon, Jun 3, 12:23 (2 d)
Engine
blob
Format
Raw Data
Handle
18018583
Attached To
R1066 amc-cape
debugging.sh
View Options
#!/bin/bash
function error() {
error_echo $@
}
function warn() {
warning_echo $@
}
function debug() {
is_set debug
if [ $? -eq 1 ]; then debug_echo $@; fi
}
function verbose() {
is_set verbose
if [ $? -eq 1 ]; then color_echo "${Green}*${NoColor} "$@; fi
}
function check_file_exists() {
if [ -r $1 ]; then
return 0
else
error "File not found: $1"
return 1
fi
}
# EOF
Event Timeline
Log In to Comment