From: Stephen Rothwell Date: Sat, 3 Mar 2012 02:46:02 +0000 (+1100) Subject: import-akpm: use user's shell X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=383c8a3dc78d96158cf888e7a1f6d1857086f2f7;p=next-scripts import-akpm: use user's shell --- diff --git a/import-akpm b/import-akpm index 24e1723..ee8ada4 100755 --- a/import-akpm +++ b/import-akpm @@ -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