Merge pull request #108 from lurch/patch-2

Remove embedded shebang
This commit is contained in:
popcornmix
2013-08-31 03:09:21 -07:00

View File

@@ -44,7 +44,6 @@ function update_self() {
fi fi
cat > /root/.updateScript.sh << EOF cat > /root/.updateScript.sh << EOF
#!/bin/bash
if mv "${_tempFileName}" "$0"; then if mv "${_tempFileName}" "$0"; then
rm -- "\$0" rm -- "\$0"
exec env UPDATE_SELF=0 /bin/bash "$0" "${FW_REV}" exec env UPDATE_SELF=0 /bin/bash "$0" "${FW_REV}"