mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
Add mod for test script which sets the PAGER default correctly
This will set the PAGER to /usr/local/bin/less instead of /usr/bin/less BUG=none TEST=PAGER variable points to the correct place by default Change-Id: I7becfe39ea1817fd17195d8eee46d23d4b8b0d00 Reviewed-on: https://gerrit.chromium.org/gerrit/26602 Reviewed-by: Anush Elangovan <anush@google.com> Reviewed-by: Chris Sosa <sosa@chromium.org> Tested-by: Sonny Rao <sonnyrao@chromium.org> Commit-Ready: Sonny Rao <sonnyrao@chromium.org>
This commit is contained in:
parent
0079158f73
commit
d4feba845d
8
mod_for_test_scripts/360setPagerLess
Executable file
8
mod_for_test_scripts/360setPagerLess
Executable file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
#
|
||||
# The PAGER variable defaults to /usr/bin/less but it will get installed
|
||||
# to /usr/local/bin/less on a test image, so fix the default
|
||||
|
||||
sed -i 's:/usr/bin/less:/usr/local/bin/less:g' ${ROOT_FS_DIR}/etc/profile
|
Loading…
Reference in New Issue
Block a user