From 99db681c0fb086cc55af694288adaec4384b1e95 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Thu, 22 Aug 2013 02:34:13 +0100 Subject: [PATCH] Remove embedded shebang .updateScript.sh doesn't need the #! line because it specifically gets exec-ed using /bin/bash --- rpi-update | 1 - 1 file changed, 1 deletion(-) diff --git a/rpi-update b/rpi-update index e899768..2d32f2c 100755 --- a/rpi-update +++ b/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}"