]> git.ozlabs.org Git - next-scripts/commitdiff
import-akpm: use user's shell
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 3 Mar 2012 02:46:02 +0000 (13:46 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 3 Mar 2012 02:46:02 +0000 (13:46 +1100)
import-akpm

index 24e17232a9089734cb59372d32c4dbb5a9ae7324..ee8ada4a319be25bec63280a36c7be20d063cbd6 100755 (executable)
@@ -9,7 +9,7 @@ execute()
 {
        log "$" $@
        "$@" 2>&1 | tee -a ../akpm-import.log
-       [ ${PIPESTATUS[0]} -eq 0 ] || sh -i || {
+       [ ${PIPESTATUS[0]} -eq 0 ] || $SHELL -i || {
                [ -f "$sfile.orig" ] &&
                        mv -f "$sfile.orig" "$sfile"
                exit 1