summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorhydrajump <wave@hydrajump.com>2014-04-28 21:30:33 +0200
committerdmbaturin <dmbaturin@squeeze32devel.het.net>2014-04-29 04:54:31 +0200
commitcd98efebb0b7130891ffa876662774941085ac7a (patch)
tree9c961b3aa09d17713900b5f3a53070db6dbe70d2 /scripts
parenta9894cb0a27d196665de565d283fcb2a6b8c817a (diff)
downloadvyatta-cfg-system-cd98efebb0b7130891ffa876662774941085ac7a.tar.gz
vyatta-cfg-system-cd98efebb0b7130891ffa876662774941085ac7a.zip
Remove trailing whitespace
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install/install-image-existing5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing
index 2dedeb95..6bdbf7a6 100755
--- a/scripts/install/install-image-existing
+++ b/scripts/install/install-image-existing
@@ -27,7 +27,7 @@ get_grub_index () {
is_kvm=`echo $cur_line | grep KVM`
is_serial=`echo $cur_line | grep Serial`
-
+
# index 0 is KVM, 1 is Serial
if [ -n "$is_serial" ]; then
echo 1
@@ -145,7 +145,7 @@ if [ ! -f "$squash_img" ] || [ -z "$boot_files" ]; then
becho 'Cannot find the files. Exiting...'
exit 1
fi
-target_squash=$REL_ROOT/$NEWVER.squashfs
+target_squash=$REL_ROOT/$NEWVER.squashfs
cp -p $squash_img $target_squash >&/dev/null
cp --no-dereference --preserve=all $boot_files $REL_ROOT/ >&/dev/null
@@ -272,4 +272,3 @@ echo 'Done.'
# done
exit 0
-