-
Notifications
You must be signed in to change notification settings - Fork 0
Update the images #2
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
Conversation
fde5401
to
eb85c31
Compare
Let's update CI to test with Python 3.8+ |
Nice shell linting. I assume you've tested most of these changes? |
(cherry picked from commit 712603c)
1150561
to
1662448
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for updating!
bin/psub
Outdated
expr "$1" + 0 &> /dev/null | ||
RC=$? | ||
if [ $RC != 0 -a $RC != 1 ] || [ $1 -le 0 ]; then | ||
if [ $RC != 0 ] && [ $RC != 1 ] || [ "$1" -le 0 ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a fan of this, since it means calling /usr/bin/test
three times instead of once or twice.
I would prefer using [[ ... ]]
and do the logic natively in bash instead, which is OK here since this is a #!/bin/bash
script.
bin/psub
Outdated
# call it with its interpreter | ||
if [ -f "$PROG_NAME" -a ! -x "$PROG_NAME" -a ! "$FORCE" ]; then | ||
if LC_ALL=C file $PROG_NAME | grep -q "script text"; then | ||
if [ -f "$PROG_NAME" ] && [ ! -x "$PROG_NAME" ] && [ ! "$FORCE" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
1662448
to
86f86c6
Compare
This PR was triggered after getting the following Warnings on GPSC