diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-07-29 17:35:15 +0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-07-30 16:36:21 +0300 |
commit | 0e938f5864f3ec0f7692a469e99d584bcd71d292 (patch) | |
tree | 3a32c1a78b3e7c7a7565f88cb79f6846352511de | |
parent | 3b9402413be9323b7e6693fced0d6a0042bebba0 (diff) | |
download | setup-efi-ivi-0e938f5864f3ec0f7692a469e99d584bcd71d292.tar.gz setup-efi-ivi-0e938f5864f3ec0f7692a469e99d584bcd71d292.tar.bz2 setup-efi-ivi-0e938f5864f3ec0f7692a469e99d584bcd71d292.zip |
setup-gummiboot-conf: fix the scriptsubmit/tizen/20130730.133812accepted/tizen/20130730.200410
The script does not really work and fails when it is run in Tizen OS. The
reason is that some functions it calls are udnefined. And the reason for
that is that I forgot to remove some debugging cruft, and the leftovers
cause breakages. Remove that unused junk.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rwxr-xr-x | setup-gummiboot-conf | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/setup-gummiboot-conf b/setup-gummiboot-conf index e5cc58f..20b414f 100755 --- a/setup-gummiboot-conf +++ b/setup-gummiboot-conf @@ -35,43 +35,6 @@ fatal() exit 1 } -# -# Parse the input parameters -# -TEMP=`getopt -n $PROG --long default-kernel:,verbose,help -- "$@"` || - fail_usage "" -eval set -- "$TEMP" - -verbose= -default_kernel= - -while true; do - case "$1" in - -w|--workdir) - mkdir $verbose -p -- "$2" >&2 - tmpdir="$(mktemp --tmpdir="$(readlink -fv -- "$2")" -dt "$PROG.XXXX")" - shift - ;; - -p|--preserve) - preserve="--preserve" - ;; - -v|--verbose) verbose=-v - ;; - -h|--help) - show_usage - exit 0 - ;; - --) shift; break - ;; - *) fail_usage "Unrecognized option: $1" - ;; - esac - shift -done - -[ "$#" = 3 ] || fatal 'Insufficient or too many arguments.' - - # Make sure the installer framework variables are defined [ "${INSTALLERFW_MOUNT_PREFIX:+x}" == "x" ] || fatal "installer framework environment variables not found" |