use shebang lib
This commit is contained in:
parent
284e6b5e8d
commit
1731cb0840
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ installNautilus program = do
|
||||||
where
|
where
|
||||||
genscript scriptdir action =
|
genscript scriptdir action =
|
||||||
installscript (scriptdir </> scriptname action) $ unlines
|
installscript (scriptdir </> scriptname action) $ unlines
|
||||||
[ "#!/bin/sh"
|
[ shebang_local
|
||||||
, autoaddedcomment
|
, autoaddedcomment
|
||||||
, "exec " ++ program ++ " " ++ action ++ " --notify-start --notify-finish -- \"$@\""
|
, "exec " ++ program ++ " " ++ action ++ " --notify-start --notify-finish -- \"$@\""
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue