From 2b6f8d140d2acb43f12e176a5b8d8c688ecb38c5 Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Fri, 14 May 2010 12:54:04 -0700 Subject: [PATCH] Fix modprobe prob in gmergefs and bring call script into scripts TEST=Ran "gmergefs --remote my_device gmerge" resulted in having gmerge installed into my /usr/local dir on my device Review URL: http://codereview.chromium.org/2037006 --- gmergefs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 gmergefs diff --git a/gmergefs b/gmergefs new file mode 100755 index 0000000000..6995a6fd08 --- /dev/null +++ b/gmergefs @@ -0,0 +1,15 @@ +#!/bin/bash + +# Copyright (c) 2010 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. + +# Run gmergefs from the scripts directory. + +COMMON_SH="$(dirname "$0")/common.sh" +. "$COMMON_SH" + +# Script must be run inside the chroot. +assert_inside_chroot + +cd ${GCLIENT_ROOT}/src/platform/dev && ./gmergefs $*