Skip to content
Snippets Groups Projects
Commit 6cdc21cf authored by micah's avatar micah :speech_balloon:
Browse files

fix LC_ALL=C sfdisk thing that I missed

parent 913b3850
Branches
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ version 0.9.5 -- unreleased ...@@ -37,6 +37,7 @@ version 0.9.5 -- unreleased
that produce warnings about no harddisks found (Closes: #404071) that produce warnings about no harddisks found (Closes: #404071)
. Fixed example in example.sys to detail the __star__ in partitionsfile and . Fixed example in example.sys to detail the __star__ in partitionsfile and
note why its necessary (Closes: #409192) note why its necessary (Closes: #409192)
. Force C locale for sfdisk to ensure english words are found in grep
fixed 'make install' bug that failed if /etc/backup.d already existed fixed 'make install' bug that failed if /etc/backup.d already existed
changed spaces to tabs in Makefile.am changed spaces to tabs in Makefile.am
updated examples/Makefile.am and handlers/Makefile.am to include rsnap/rub files updated examples/Makefile.am and handlers/Makefile.am to include rsnap/rub files
......
...@@ -473,7 +473,7 @@ fi ...@@ -473,7 +473,7 @@ fi
if [ "$partitions" == "yes" ]; then if [ "$partitions" == "yes" ]; then
if [ "$dosfdisk" == "yes" ]; then if [ "$dosfdisk" == "yes" ]; then
devices=`$SFDISK -l 2>/dev/null | grep "^Disk /dev" | @AWK@ '{print $2}' | cut -d: -f1` devices=`LC_ALL=C $SFDISK -l 2>/dev/null | grep "^Disk /dev" | @AWK@ '{print $2}' | cut -d: -f1`
if [ "$devices" == "" ]; then if [ "$devices" == "" ]; then
warning "No harddisks found" warning "No harddisks found"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment