summaryrefslogtreecommitdiff
path: root/Utility/Shell.hs
blob: f3858af7f5ae4722455567a97e45d182a547d5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{- /bin/sh handling
 -
 - Copyright 2013 Joey Hess <joey@kitenet.net>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

{-# LANGUAGE CPP #-}

module Utility.Shell where

shellPath :: FilePath
#ifndef __ANDROID__
shellPath = "/bin/sh"
#else
shellPath = "/system/bin/sh"
#endif

shebang :: String
shebang = "#!" ++ shellPath