Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit

Permalink
spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Oct 29, 2013
1 parent a7a48b2 commit 72900ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/functions/Generate-BinFile.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function Generate-BinFile {
param(
[string] $name,
[string] $name,
[string] $path,
[switch] $useStart
)
Expand All @@ -16,12 +16,12 @@ param(
Write-Host "Setting up $name as a non-command line application." -ForegroundColor $Note
"@echo off
SET DIR=%~dp0%
start """" ""$path"" %*" | Out-File $packageBatchFileName -encoding ASCII
start """" ""$path"" %*" | Out-File $packageBatchFileName -encoding ASCII

"#!/bin/sh
DIR=`${0%/*}
""$pathBash"" ""`$*"" &" | Out-File $packageBashFileName -encoding ASCII

} else {
"@echo off
SET DIR=%~dp0%
Expand All @@ -31,4 +31,4 @@ SET DIR=%~dp0%
DIR=`${0%/*}
""$pathBash"" ""`$*""" | Out-File $packageBashFileName -encoding ASCII
}
}
}

0 comments on commit 72900ea

Please sign in to comment.