Module Name: src Committed By: kim Date: Wed Jul 3 14:23:07 UTC 2024
Modified Files: src/external/gpl2/send-pr/dist/send-pr: send-pr.sh Log Message: Fix invalid logic for $MACHINE To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/send-pr/dist/send-pr/send-pr.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl2/send-pr/dist/send-pr/send-pr.sh diff -u src/external/gpl2/send-pr/dist/send-pr/send-pr.sh:1.2 src/external/gpl2/send-pr/dist/send-pr/send-pr.sh:1.3 --- src/external/gpl2/send-pr/dist/send-pr/send-pr.sh:1.2 Thu Jan 14 21:13:20 2016 +++ src/external/gpl2/send-pr/dist/send-pr/send-pr.sh Wed Jul 3 14:23:07 2024 @@ -155,8 +155,8 @@ if [ -z "$ARCH" -a -f /bin/arch ]; then ARCH=`/bin/arch` fi MACHINE=`$UNAME -m` -if [ -z "$ARCH" -a -f /bin/machine ]; then - ARCH=`/bin/arch` +if [ -z "$MACHINE" -a -f /bin/machine ]; then + MACHINE=`/bin/machine` fi COMMAND=`echo $0 | sed -e 's,.*/,,'`