Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Application modulaire fonctionnelle !

Emmanuel ROY authored on 12/08/2019 15:10:25
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,14 +0,0 @@
1
-#!/usr/bin/env sh
2
-
3
-dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../nesbot/carbon/bin" && pwd)
4
-
5
-if [ -d /proc/cygdrive ]; then
6
-    case $(which php) in
7
-        $(readlink -n /proc/cygdrive)/*)
8
-            # We are in Cygwin using Windows php, so the path must be translated
9
-            dir=$(cygpath -m "$dir");
10
-            ;;
11
-    esac
12
-fi
13
-
14
-"${dir}/carbon" "$@"
Browse code

initial commit

Emmanuel ROY authored on 09/08/2019 08:39:02
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env sh
2
+
3
+dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../nesbot/carbon/bin" && pwd)
4
+
5
+if [ -d /proc/cygdrive ]; then
6
+    case $(which php) in
7
+        $(readlink -n /proc/cygdrive)/*)
8
+            # We are in Cygwin using Windows php, so the path must be translated
9
+            dir=$(cygpath -m "$dir");
10
+            ;;
11
+    esac
12
+fi
13
+
14
+"${dir}/carbon" "$@"