After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 699383 - Bashishm in src/photos-generate-about breaks build with /bin/sh -> /bin/dash
Bashishm in src/photos-generate-about breaks build with /bin/sh -> /bin/dash
Status: RESOLVED DUPLICATE of bug 698086
Product: gnome-photos
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME photos maintainer(s)
GNOME photos maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-05-01 13:48 UTC by Emanuele Aina
Modified: 2013-05-14 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
photos-generate-about: Remove '[[' bashishm (1.54 KB, patch)
2013-05-01 13:48 UTC, Emanuele Aina
none Details | Review

Description Emanuele Aina 2013-05-01 13:48:04 UTC
Running with /bin/sh pointing to dash leads with the following error:
./photos-generate-about: [[: not found

Either we change the script interpreter to /bin/bash or we fix the non-POSIX syntax.
Comment 1 Emanuele Aina 2013-05-01 13:48:07 UTC
Created attachment 242995 [details] [review]
photos-generate-about: Remove '[[' bashishm

Running with /bin/sh pointing to dash leads with the following error:
./photos-generate-about: [[: not found

Replace usage of '[[' with '[' and change the quoting as they have
different quoting rules.
Comment 2 Debarshi Ray 2013-05-14 13:01:03 UTC
Sorry about that, but thanks for the patch anyway!

*** This bug has been marked as a duplicate of bug 698086 ***