• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/openssl/005-Make-c_rehash-match-commands-starting-with-minus-inste.patch
Gustavo ZacariasGustavo Zacarias committed 4c7e93a6ea327 Jan 2015
Raw file
Source viewDiff to previous
 
1
From 079cae9d7628f16b9efdf5723d2bfae5bdc2ba4e Mon Sep 17 00:00:00 2001
2
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3
Date: Tue, 27 Jan 2015 18:27:32 -0300
4
Subject: [PATCH] Make c_rehash match commands starting with - (minus) instead
5
 of minus in any starting position, otherwise a directory named a-b breaks it
6
​
7
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
8
---
9
 tools/c_rehash.in | 2 +-
10
 1 file changed, 1 insertion(+), 1 deletion(-)
11
​
12
diff --git a/tools/c_rehash.in b/tools/c_rehash.in
13
index 887e927..1df2fab 100644
14
--- a/tools/c_rehash.in
15
+++ b/tools/c_rehash.in
16
@@ -15,7 +15,7 @@ my $symlink_exists=eval {symlink("",""); 1};
17
 my $removelinks = 1;
18
 
19
 ##  Parse flags.
20
-while ( $ARGV[0] =~ '-.*' ) {
21
+while ( $ARGV[0] =~ '^-.*' ) {
22
     my $flag = shift @ARGV;
23
     last if ( $flag eq '--');
24
     if ( $flag =~ /-old/) {
25
-- 
26
2.0.5
27
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.