Created
January 24, 2013 20:09
-
-
Save lrm29/4627181 to your computer and use it in GitHub Desktop.
fish-shell, bug in umask
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e67b26b4730294cb7366749e1924f4b63fa3f2a9 Mon Sep 17 00:00:00 2001 | |
From: "Laurence R. McGlashan" <lrm29@cam.ac.uk> | |
Date: Thu, 24 Jan 2013 20:04:12 +0000 | |
Subject: [PATCH] BUG: Remove '-l' from option list in umask | |
--- | |
share/functions/umask.fish | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/share/functions/umask.fish b/share/functions/umask.fish | |
index 380dc19..f65ca65 100644 | |
--- a/share/functions/umask.fish | |
+++ b/share/functions/umask.fish | |
@@ -144,7 +144,7 @@ function umask --description "Set default file permission mask" | |
if not getopt -T >/dev/null | |
# GNU getopt | |
set longopt -l as-command,symbolic,help | |
- set options -o $shortopt -l $longopt -- | |
+ set options -o $shortopt $longopt -- | |
# Verify options | |
if not getopt -n umask $options $argv >/dev/null | |
return 1 | |
-- | |
1.8.0.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment