Commit 4d7ba8e0 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Replaced 'readlink -e' with real_path

'readlink -e' is as non-portable as 'readlink -f' it would seem.
parent 5020bb83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ build ()
		# normalise $cmd
		pushd "$GIT_DIR" >/dev/null
		eval "cmd=( $cmd )"
		cmd[0]=`readlink -e "${cmd[0]}" || echo "${cmd[0]}"`
		cmd[0]=`real_path "${cmd[0]}" || echo "${cmd[0]}"`
		popd >/dev/null

		# run the build command