Project

General

Profile

Actions

Bug #6486

closed

The detect_os.sh script is not valid

Added by Matthieu CERDA over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

This script contains:

 elif [ -f /etc/SuSE-release ]; then
  export OS="SLES" 
  export OSVERSION=$(cat /etc/SuSE-release | grep VERSION | cut -f2 -d '=' | sed 's/ //')
  export OSSP=$(/etc/SuSE-release | grep PATCHLEVEL | cut -f2 -d '=' | sed 's/ //')

OSSP should use cat /etc/SuSE-release, not just /etc/SuSE-release.

Actions

Also available in: Atom PDF