Permalink
Browse files

initialize to function, shebang adjustment.

  • Loading branch information...
1 parent f1abe01 commit 0860a774eb5dfc14eaf147074dc7d695c3b1fd5e @wayneeseguin wayneeseguin committed Aug 20, 2011
Showing with 16 additions and 14 deletions.
  1. +1 −1 bash/actions/help
  2. +7 −1 bash/modules/shell/dsl
  3. +0 −5 bash/modules/shell/initialize
  4. +1 −1 zsh/actions/help
  5. +7 −1 zsh/modules/shell/dsl
  6. +0 −5 zsh/modules/shell/initialize
View
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
description "${extension} BDSM extension."
View
@@ -1,4 +1,10 @@
-#!/usr/bin/env bash
+#!/bin/sh
+
+bash_initialize()
+{
+ package_definition \
+ patches_url "ftp://ftp.gnu.org/gnu/bash/bash-${package_version}-patches"
+}
patch_package()
{
@@ -1,5 +0,0 @@
-#!/usr/bin/env bash
-
-package_definition \
- patches_url "ftp://ftp.gnu.org/gnu/bash/bash-${package_version}-patches"
-
View
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
description "${extension} BDSM extension."
View
@@ -1,4 +1,10 @@
-#!/usr/bin/env bash
+#!/bin/sh
+
+zsh_initialize()
+{
+ package_definition \
+ base_url "http://downloads.sourceforge.net/project/zsh/zsh-dev/${package_version}"
+}
zsh_postinstall()
{
@@ -1,5 +0,0 @@
-#!/usr/bin/env bash
-
-package_definition \
- base_url "http://downloads.sourceforge.net/project/zsh/zsh-dev/${package_version}"
-

0 comments on commit 0860a77

Please sign in to comment.