Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove embedded shebang #108

Merged
merged 1 commit into from

3 participants

@lurch

.updateScript.sh doesn't need the #! line because it specifically gets exec-ed using /bin/bash

@lurch lurch Remove embedded shebang
.updateScript.sh doesn't need the #! line because it specifically gets exec-ed using /bin/bash
99db681
@technion

But is anything actually gained by removing it?

@lurch

Nah not really, it's just a tidyup. So I don't mind if this pull request gets 'cancelled'.

@popcornmix popcornmix merged commit ff9ebab into Hexxeh:master
@lurch lurch deleted the lurch:patch-2 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 22, 2013
  1. @lurch

    Remove embedded shebang

    lurch authored
    .updateScript.sh doesn't need the #! line because it specifically gets exec-ed using /bin/bash
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1  rpi-update
View
1  rpi-update
@@ -44,7 +44,6 @@ function update_self() {
fi
cat > /root/.updateScript.sh << EOF
- #!/bin/bash
if mv "${_tempFileName}" "$0"; then
rm -- "\$0"
exec env UPDATE_SELF=0 /bin/bash "$0" "${FW_REV}"
Something went wrong with that request. Please try again.